fixing the long term "Kit" bug ;D
This commit is contained in:
parent
b2c538b189
commit
fba10e4cbd
|
@ -980,7 +980,14 @@ public class GameLobbyManager implements Listener, IPacketHandler
|
|||
kitName = kitName.substring(0, 16);
|
||||
|
||||
// Remove old
|
||||
entry.getValue().resetScores(C.cGray + C.Bold + "Kit");
|
||||
//entry.getValue().resetScores(teamColor + C.Bold + "Kit");
|
||||
for(String string : entry.getValue().getEntries())
|
||||
{
|
||||
if(string.endsWith("Kit"))
|
||||
{
|
||||
entry.getValue().resetScores(string);
|
||||
}
|
||||
}
|
||||
entry.getValue().resetScores(_kitMap.get(entry.getKey()) + "");
|
||||
|
||||
// Set new
|
||||
|
|
Loading…
Reference in New Issue