From 09f9ae3b7a8f3a56da7aa811ae13b9c6d4312014 Mon Sep 17 00:00:00 2001 From: AlexTheCoder Date: Thu, 14 Apr 2016 23:05:14 -0400 Subject: [PATCH] - Update for playability --- .../game/games/minecraftleague/MinecraftLeague.java | 12 ++++++------ .../variation/wither/data/WitherMinionManager.java | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minecraftleague/MinecraftLeague.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minecraftleague/MinecraftLeague.java index 8f4c70c97..c0b35f088 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minecraftleague/MinecraftLeague.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minecraftleague/MinecraftLeague.java @@ -893,10 +893,10 @@ public class MinecraftLeague extends TeamGame if (!tower.canDamage(player)) return; - //if (!tower.Vulnerable) + if (!tower.Vulnerable) { - //UtilPlayer.message(player, F.main("Game", "That Tower is protected by the power of another!")); - //return; + UtilPlayer.message(player, F.main("Game", "That Tower is protected by the power of another!")); + return; } if (!tower.damage(event.getDamage() / 2, player)) @@ -914,10 +914,10 @@ public class MinecraftLeague extends TeamGame if (!tower.canDamage(player)) return; - //if (!tower.Vulnerable) + if (!tower.Vulnerable) { - //UtilPlayer.message(player, F.main("Game", "That Tower is protected by the power of another!")); - //return; + UtilPlayer.message(player, F.main("Game", "That Tower is protected by the power of another!")); + return; } if (player.getItemInHand() == null || player.getItemInHand().getType() == Material.AIR) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minecraftleague/variation/wither/data/WitherMinionManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minecraftleague/variation/wither/data/WitherMinionManager.java index 44f479094..218eff1fb 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minecraftleague/variation/wither/data/WitherMinionManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minecraftleague/variation/wither/data/WitherMinionManager.java @@ -118,7 +118,9 @@ public class WitherMinionManager implements Listener chosen = _spawns.get(_selected); else chosen = _spawns.get(_lastUsed); + _host.Host.CreatureAllowOverride = true; Entity e = _host.Manager.GetCreature().SpawnEntity(chosen, EntityType.SKELETON); + _host.Host.CreatureAllowOverride = false; ((Skeleton)e).setSkeletonType(SkeletonType.WITHER); _entity = (Skeleton)e; UtilEnt.ghost(e, true, false);