Fix explosives range checks

This commit is contained in:
ProfessorXZ 2016-08-15 00:13:55 +02:00
parent 30fcf83fa1
commit c305b36168
2 changed files with 3 additions and 1 deletions

View file

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