Fixed IceRod not placing ice blocks
This commit is contained in:
parent
4dca73a6cc
commit
775c724b44
1 changed files with 1 additions and 12 deletions
|
|
@ -2048,19 +2048,8 @@ namespace TShockAPI
|
|||
return true;
|
||||
}
|
||||
|
||||
// If they aren't selecting the item which creates the correct tile or wall, they're hacking.
|
||||
if (editData != (action == EditAction.PlaceTile ? selectedItem.createTile : selectedItem.createWall))
|
||||
{
|
||||
args.Player.SendTileSquare(tileX, tileY, 4);
|
||||
return true;
|
||||
}
|
||||
|
||||
// If they aren't selecting the item which creates the tile or wall, they're hacking.
|
||||
if ((editData != TileID.MagicalIceBlock
|
||||
&& editData != TileID.Rope
|
||||
&& editData != TileID.SilkRope
|
||||
&& editData != TileID.VineRope
|
||||
&& editData != TileID.WebRope)
|
||||
if (editData != TileID.MagicalIceBlock
|
||||
&& editData != (action == EditAction.PlaceTile ? selectedItem.createTile : selectedItem.createWall))
|
||||
{
|
||||
args.Player.SendTileSquare(tileX, tileY, 4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue