From 7386d8ada50c900319c46b5a077e465f3a50de4a Mon Sep 17 00:00:00 2001 From: ThePooN Date: Tue, 4 Mar 2014 00:37:45 +0100 Subject: [PATCH] Added some lines for UHC 5 spawn --- src/me/azenet/UHPlugin/UHPluginListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/me/azenet/UHPlugin/UHPluginListener.java b/src/me/azenet/UHPlugin/UHPluginListener.java index 5244eba..b0aa3bf 100644 --- a/src/me/azenet/UHPlugin/UHPluginListener.java +++ b/src/me/azenet/UHPlugin/UHPluginListener.java @@ -325,6 +325,8 @@ public void onPlayerInteract(PlayerInteractEvent ev) { pl.sendMessage(ChatColor.GRAY+"The compass points to the nearest player."); pl.setCompassTarget(nearest.getLocation()); } + else if(ev.getClickedBlock().getY() == 42 && ev.getClickedBlock().getX() == 6 && (ev.getClickedBlock().getZ() == -8 || ev.getClickedBlock().getZ() == -9 || ev.getClickedBlock().getZ() == -10)) + ev.setCancelled(true); } @EventHandler