PC-1026
This commit is contained in:
parent
8a78f1ce34
commit
8226592caa
@ -380,7 +380,7 @@ public class TurfForts extends TeamGame
|
||||
while (block.getTypeId() == 0 && block.getY() > 0)
|
||||
block = block.getRelative(BlockFace.DOWN);
|
||||
|
||||
if (block.getType() != Material.STAINED_CLAY || block.getData() != team.GetColorData())
|
||||
if ((block.getType() != Material.STAINED_CLAY && block.getType() != Material.WOOL) || 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