Revert "PC-692"

This reverts commit 7865b1ef80.
This commit is contained in:
Sam 2016-07-08 17:38:53 +01:00
parent 7865b1ef80
commit aae24d862a
1 changed files with 7 additions and 0 deletions

View File

@ -271,6 +271,13 @@ public class WitherGame extends TeamGame implements IBlockRestorer
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());
}