This commit is contained in:
samczsun 2017-03-11 15:11:29 -05:00 committed by cnr
parent 858b08e3c3
commit 8a78f1ce34

View File

@ -380,7 +380,7 @@ public class TurfForts extends TeamGame
while (block.getTypeId() == 0 && block.getY() > 0)
block = block.getRelative(BlockFace.DOWN);
if (block.getData() != team.GetColorData())
if (block.getType() != Material.STAINED_CLAY || block.getData() != team.GetColorData())
{
UtilPlayer.message(event.getPlayer(), F.main("Game", "You can only build above " + F.elem(team.GetColor() + team.GetName()) + "."));
event.setCancelled(true);