From b0e16f6612ab841a061937b99fb3c2227b903e2c Mon Sep 17 00:00:00 2001 From: Sarah Date: Tue, 1 Dec 2015 17:05:55 +0100 Subject: [PATCH] Zombie smash Color. --- .../game/games/typewars/spells/SpellKillEverything.java | 2 +- .../nautilus/game/arcade/gametutorial/TutorialPhase.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/typewars/spells/SpellKillEverything.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/typewars/spells/SpellKillEverything.java index b8eb8a571..12b1cd34e 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/typewars/spells/SpellKillEverything.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/typewars/spells/SpellKillEverything.java @@ -40,7 +40,7 @@ public class SpellKillEverything extends Spell public boolean execute(Player player, Location location) { - UtilTextMiddle.display("", player.getName() + " used a Zombie Smash", 0, 40, 0); + UtilTextMiddle.display("", getManager().GetGame().GetTeam(player).GetColor() + player.getName() + " used a Zombie Smash", 0, 40, 0); ArrayList minionList = new ArrayList<>(); Iterator minionIterator = getTypeWars().getActiveMinions().iterator(); while(minionIterator.hasNext()) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java index 3ec45651f..00cc4832e 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java @@ -142,8 +142,10 @@ public abstract class TutorialPhase private void displayMessage(final TutorialText text) { - if(_tutorial.RunTasksSync) - _tutorial.Manager.runSync(new Runnable() { + if(_tutorial.RunTasksSync) + { + _tutorial.Manager.runSync(new Runnable() + { @Override public void run() {