Removed debug.
This commit is contained in:
parent
25fc3c0645
commit
04ba68293e
@ -999,41 +999,4 @@ public class HubManager extends MiniClientPlugin<HubClient>
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user