From d11c3c76ebac0555bf3a6f38e8d53753114142a3 Mon Sep 17 00:00:00 2001 From: Thanos Paravantis Date: Mon, 30 May 2016 12:39:17 +0300 Subject: [PATCH] Add chicken attack info message Every time chicken attack is triggered for a player, a chat message will be displayed that explains why the player is being attacked by chickens. Also, two debug messages were removed, since they were no longer used. --- .../game/arcade/game/games/mineware/effect/ChickenAttack.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/effect/ChickenAttack.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/effect/ChickenAttack.java index aada3beda..e0b937b27 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/effect/ChickenAttack.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/effect/ChickenAttack.java @@ -73,12 +73,12 @@ public class ChickenAttack player.teleport(_center); UtilTextMiddle.display(C.cRed + "Chicken Attack!", "You ran out of lives.", 5, 40, 5, player); + UtilPlayer.message(player, F.main("Game", "You ran out lives, Bawk Bawk's followers are attacking you!")); player.playSound(player.getLocation(), Sound.WITHER_SPAWN, 1.0F, 1.0F); player.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, Integer.MAX_VALUE, 1)); ensurePlayerKill(player); - System.out.println("Chicken attack triggered for " + player.getName() + "."); } private void ensurePlayerKill(Player player) @@ -103,8 +103,6 @@ public class ChickenAttack public void kill(Player player) { - System.out.println("Killed: " + player.getName()); - _host.Manager.Clear(player); new BukkitRunnable()