UHC: Expanded from 32 blocks to 36

This commit is contained in:
libraryaddict 2015-05-27 02:40:27 +12:00
parent b8cd2aaece
commit e15e42afae

View File

@ -717,8 +717,8 @@ public class UHC extends TeamGame
@EventHandler
public void WorldBoundaryYLimit(BlockPlaceEvent event)
{
if (event.getBlock().getX() >= -32 && event.getBlock().getX() <= 32 && event.getBlock().getZ() >= -32
&& event.getBlock().getZ() <= 32)
if (event.getBlock().getX() >= -36 && event.getBlock().getX() <= 36 && event.getBlock().getZ() >= -36
&& event.getBlock().getZ() <= 36)
{
UtilPlayer.message(event.getPlayer(), F.main("Game", "You cannot build this high near center of map."));
event.setCancelled(true);