Zombie smash Color.

This commit is contained in:
Sarah 2015-12-01 17:05:55 +01:00
parent d335e58652
commit b0e16f6612
2 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@ public class SpellKillEverything extends Spell
public boolean execute(Player player, Location location) 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<Minion> minionList = new ArrayList<>(); ArrayList<Minion> minionList = new ArrayList<>();
Iterator<Minion> minionIterator = getTypeWars().getActiveMinions().iterator(); Iterator<Minion> minionIterator = getTypeWars().getActiveMinions().iterator();
while(minionIterator.hasNext()) while(minionIterator.hasNext())

View File

@ -143,7 +143,9 @@ public abstract class TutorialPhase
private void displayMessage(final TutorialText text) private void displayMessage(final TutorialText text)
{ {
if(_tutorial.RunTasksSync) if(_tutorial.RunTasksSync)
_tutorial.Manager.runSync(new Runnable() { {
_tutorial.Manager.runSync(new Runnable()
{
@Override @Override
public void run() public void run()
{ {