From 04ba68293e4a3ee19ecc5f99d8148fe9343c78c6 Mon Sep 17 00:00:00 2001 From: Jonathan Williams Date: Fri, 24 Oct 2014 18:00:10 -0700 Subject: [PATCH] Removed debug. --- .../src/mineplex/hub/HubManager.java | 37 ------------------- 1 file changed, 37 deletions(-) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java index 9763e653c..8cc257b75 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java @@ -999,41 +999,4 @@ public class HubManager extends MiniClientPlugin if (!_gadgetsEnabled) event.setCancelled(true); } - - @EventHandler - public void debug(PlayerCommandPreprocessEvent event) - { - Player player = event.getPlayer(); - - if (event.getMessage().contains("sheep")) - { - player.setPassenger(player.getWorld().spawn(player.getLocation(), Sheep.class)); - } - if (event.getMessage().contains("drop")) - { - player.eject(); - } - } - - @EventHandler - public void damage(EntityDamageByEntityEvent event) - { - Entity ent = UtilEvent.GetDamagerEntity(event, false); - if (ent != null && ent instanceof Player) - System.out.println("DAMAGE"); - } - - @EventHandler - public void interactent(PlayerInteractEntityEvent event) - { - System.out.println("ENT INTERACT"); - - System.out.println(event.getPlayer().getTargetBlock(null, 0)); - } - - @EventHandler - public void interact(PlayerInteractEvent event) - { - System.out.println("INTERACT"); - } }