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

View File

@ -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());
} }