Hey Zidonuke, a tile isn't two types at the same time

This commit is contained in:
Lucas Nicodemus 2012-05-25 23:26:45 -06:00
parent 18e322d9a1
commit 030f4ab074

View file

@ -1682,7 +1682,7 @@ namespace TShockAPI
{
return true;
}
if (tiletype == 29 && tiletype == 97 && TShock.Config.ServerSideInventory)
if ((tiletype == 29 || tiletype == 97) && TShock.Config.ServerSideInventory)
{
args.Player.SendMessage("You cannot place this tile, server side inventory is enabled.", Color.Red);
args.Player.SendTileSquare(tileX, tileY);