Merge branch 'master' of ssh://184.154.0.242:7999/min/Mineplex

This commit is contained in:
Jonathan Williams 2014-06-15 16:25:40 -07:00
commit 6515dd13a0

View File

@ -95,7 +95,17 @@ public class GameScoreboard
if (teamName == null)
teamName = "";
_scoreboard.getTeam(Game.Manager.GetClients().Get(player).GetRank().Name + teamName).addPlayer(player);
String team = Game.Manager.GetClients().Get(player).GetRank().Name + teamName;
try
{
_scoreboard.getTeam(team).addPlayer(player);
}
catch (Exception e)
{
e.printStackTrace();
System.out.println("ERROR ADDING PLAYER TO TEAM: " + team);
}
}
public void ResetScore(String line)