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)
{
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<>();
Iterator<Minion> minionIterator = getTypeWars().getActiveMinions().iterator();
while(minionIterator.hasNext())

View File

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