From 286a7aa32a5e63aac7f617d26640239973e4bfec Mon Sep 17 00:00:00 2001 From: AlexTheCoder Date: Thu, 21 Jul 2016 16:16:38 -0400 Subject: [PATCH] Even more debug --- .../hub/modules/mavericks/basketball/BasketballGame.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/modules/mavericks/basketball/BasketballGame.java b/Plugins/Mineplex.Hub/src/mineplex/hub/modules/mavericks/basketball/BasketballGame.java index 2bbab1b3d..51229544d 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/modules/mavericks/basketball/BasketballGame.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/modules/mavericks/basketball/BasketballGame.java @@ -490,19 +490,22 @@ public class BasketballGame implements Listener @EventHandler public void onSwipe(EntityDamageByEntityEvent event) { + Bukkit.broadcastMessage("1"); if (_frozen) return; - + Bukkit.broadcastMessage("2"); if (!(event.getEntity() instanceof Player) || !(event.getDamager() instanceof Player)) { + Bukkit.broadcastMessage("3"); return; } - + Bukkit.broadcastMessage("4"); if (!_players.contains((Player)event.getEntity()) || !_players.contains((Player)event.getDamager())) { + Bukkit.broadcastMessage("5"); return; } - + Bukkit.broadcastMessage("6"); Player player = (Player)event.getDamager(); Player target = (Player)event.getEntity();