From c5ec45bc02c19fb3d2ceb2d069a1ebf1b178219f Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Fri, 22 May 2020 23:53:34 -0700 Subject: [PATCH] Support using the scarab bomb (fixes #1808) Also fixes #1781. Partially fixes #1865. --- CHANGELOG.md | 1 + TShockAPI/Bouncer.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62a96234..02a15e84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * Fix lava absorbant sponge not capturing lava. `LiquidSetEventArgs` now returns a `LiquidType` instead of a byte type. (@hakusaro) * Fix bottomless lava bucket from not being able to create lava. (@hakusaro) * Ban a lava bucket to ban lava on the server entirely, until we figure out a better way to handle liquids. +* Fix scarab bombs not detonating on pick style tiles. (@hakusaro) ## TShock 4.4.0 (Pre-release 6) * Updates to OTAPI 2.0.0.35 (@DeathCradle). diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index 5803f67f..4beb9980 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -943,7 +943,8 @@ namespace TShockAPI if ((type == ProjectileID.Bomb || type == ProjectileID.Dynamite || type == ProjectileID.StickyBomb - || type == ProjectileID.StickyDynamite)) + || type == ProjectileID.StickyDynamite + || type == ProjectileID.ScarabBomb)) { // Denotes that the player has recently set a fuse - used for cheat detection. args.Player.RecentFuse = 10;