parent
7865b1ef80
commit
aae24d862a
@ -271,6 +271,13 @@ public class WitherGame extends TeamGame implements IBlockRestorer
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(event.getBlock().getLocation().getBlockY() < _maxY - 4)
|
||||||
|
{
|
||||||
|
event.getPlayer().sendMessage(F.main("BlockChecker", "You may not build under this height!"));
|
||||||
|
event.setCancelled(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
_locationsOfBlocks.add(event.getBlock().getLocation());
|
_locationsOfBlocks.add(event.getBlock().getLocation());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user