fixed Title for end game

This commit is contained in:
Chiss 2014-09-20 16:33:24 +10:00
parent d9677ddda2
commit 6e60c301cf
1 changed files with 8 additions and 8 deletions

View File

@ -926,7 +926,7 @@ public abstract class Game implements Listener
if (!IsLive())
return;
String winnerText = ChatColor.WHITE + "§lNobody won the game...";
String winnerText = ChatColor.WHITE + "Nobody";
for (Player player : UtilServer.getPlayers())
{
@ -944,12 +944,12 @@ public abstract class Game implements Listener
WinnerTeam = team;
Winner = team.GetName() + " Team";
winnerText = team.GetColor() + C.Bold + team.GetName() + " won the game!";
UtilPlayer.message(player, winnerText);
winnerText = team.GetColor() + team.GetName();
UtilPlayer.message(player, team.GetColor() + C.Bold + team.GetName() + " won the game!");
}
else
{
UtilPlayer.message(player, winnerText);
UtilPlayer.message(player, "Nobody won the game!");
}
@ -960,7 +960,7 @@ public abstract class Game implements Listener
UtilPlayer.message(player, ArcadeFormat.Line);
}
UtilTitle.display(winnerText, _customWinLine, 20, 120, 20);
UtilTitle.display(winnerText, "won the game", 20, 120, 20);
if (AnnounceSilence)
Manager.GetChat().Silence(5000, false);
@ -992,7 +992,7 @@ public abstract class Game implements Listener
{
Winner = places.get(0).getName();
winnerText = C.cYellow + C.Bold + places.get(0).getName() + " won the game!";
winnerText = C.cYellow + places.get(0).getName();
UtilPlayer.message(player, C.cRed + C.Bold + "1st Place" + C.cWhite + " - " + places.get(0).getName());
}
@ -1016,7 +1016,7 @@ public abstract class Game implements Listener
UtilPlayer.message(player, ArcadeFormat.Line);
}
UtilTitle.display(winnerText, null, 20, 120, 20);
UtilTitle.display(winnerText, "won the game", 20, 120, 20);
if (AnnounceSilence)
Manager.GetChat().Silence(5000, false);