diff --git a/MobArena.jar b/MobArena.jar index ca3b172..48e76bf 100644 Binary files a/MobArena.jar and b/MobArena.jar differ diff --git a/src/com/garbagemule/MobArena/MAListener.java b/src/com/garbagemule/MobArena/MAListener.java index c77e71e..4f91f7a 100644 --- a/src/com/garbagemule/MobArena/MAListener.java +++ b/src/com/garbagemule/MobArena/MAListener.java @@ -442,8 +442,6 @@ public class MAListener implements ArenaListener if (!(event.getEntity() instanceof Player) || !arena.arenaPlayers.contains((Player)event.getEntity())) return; - System.out.println(event.getRegainReason()); - if (event.getRegainReason() == RegainReason.REGEN) event.setCancelled(true); } diff --git a/src/com/garbagemule/MobArena/MobArena.java b/src/com/garbagemule/MobArena/MobArena.java index facbb2b..89f02b0 100644 --- a/src/com/garbagemule/MobArena/MobArena.java +++ b/src/com/garbagemule/MobArena/MobArena.java @@ -72,7 +72,7 @@ public class MobArena extends JavaPlugin setupRegister(); setupSpout(); setupHeroes(); - //setupMagicSpells(); + setupMagicSpells(); // Set up the ArenaMaster and the announcements am = new ArenaMaster(this); @@ -189,7 +189,7 @@ public class MobArena extends JavaPlugin heroManager = ((Heroes) heroes).getHeroManager(); } - /*private void setupMagicSpells() + private void setupMagicSpells() { Plugin spells = this.getServer().getPluginManager().getPlugin("MagicSpells"); if (spells == null) return; @@ -197,7 +197,7 @@ public class MobArena extends JavaPlugin PluginManager pm = getServer().getPluginManager(); MagicSpellsListener spellsListener = new MagicSpellsListener(this); pm.registerEvent(Event.Type.CUSTOM_EVENT, spellsListener, Priority.Normal, this); - }*/ + } public Configuration getConfig() { return config; } public ArenaMaster getAM() { return am; } // More convenient.