Support using the scarab bomb (fixes #1808)

Also fixes #1781. Partially fixes #1865.
This commit is contained in:
Lucas Nicodemus 2020-05-22 23:53:34 -07:00
parent 7452d3c91d
commit c5ec45bc02
No known key found for this signature in database
GPG key ID: A07BD9023D1664DB
2 changed files with 3 additions and 1 deletions

View file

@ -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).

View file

@ -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;