Merge branch 'master' of ssh://184.154.0.242:7999/min/Mineplex
This commit is contained in:
commit
6515dd13a0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user