Fix explosives range checks
This commit is contained in:
parent
30fcf83fa1
commit
c305b36168
2 changed files with 3 additions and 1 deletions
|
|
@ -2173,7 +2173,7 @@ namespace TShockAPI
|
|||
return false;
|
||||
}
|
||||
|
||||
if ((action == EditAction.KillTile || action == EditAction.KillWall) && ItemID.Sets.Explosives[selectedItem.netID] && args.Player.RecentFuse == 0)
|
||||
if (action == EditAction.KillTile || action == EditAction.KillWall && ItemID.Sets.Explosives[selectedItem.netID] && args.Player.RecentFuse == 0)
|
||||
{
|
||||
args.Player.SendTileSquare(tileX, tileY, 4);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue