PC-1026
This commit is contained in:
parent
858b08e3c3
commit
8a78f1ce34
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user