fixing the long term "Kit" bug ;D

This commit is contained in:
Sarah 2015-07-31 14:08:08 +02:00
parent b2c538b189
commit fba10e4cbd

View File

@ -980,7 +980,14 @@ public class GameLobbyManager implements Listener, IPacketHandler
kitName = kitName.substring(0, 16); kitName = kitName.substring(0, 16);
// Remove old // 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()) + ""); entry.getValue().resetScores(_kitMap.get(entry.getKey()) + "");
// Set new // Set new