Added multicolour wrench to acceptable wire cutters

This commit is contained in:
White 2016-05-31 12:28:19 +09:30
parent 91c4eb8a72
commit 718128f422

View file

@ -2088,7 +2088,8 @@ namespace TShockAPI
{ {
// If they aren't selecting the wire cutter, they're hacking. // If they aren't selecting the wire cutter, they're hacking.
if (selectedItem.type != ItemID.WireCutter if (selectedItem.type != ItemID.WireCutter
&& selectedItem.type != ItemID.WireKite) && selectedItem.type != ItemID.WireKite
&& selectedItem.type != ItemID.MulticolorWrench)
{ {
args.Player.SendTileSquare(tileX, tileY, 1); args.Player.SendTileSquare(tileX, tileY, 1);
return true; return true;