UHC: Expanded from 32 blocks to 36
This commit is contained in:
parent
b8cd2aaece
commit
e15e42afae
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user