Ver código fonte

Olympiad save npe fix, by Nitrozik. Thanks also to _DS_ for testing and reporting

DrHouse 16 anos atrás
pai
commit
ddc6c94185

+ 3 - 0
L2_GameServer/java/net/sf/l2j/gameserver/Olympiad.java

@@ -1258,6 +1258,9 @@ public class Olympiad
             for (Integer nobleId : _nobles.keySet())
             {
                 StatsSet nobleInfo = _nobles.get(nobleId);
+                
+                if (nobleInfo == null)
+                	continue;
 
                 int charId = nobleId;
                 int classId = nobleInfo.getInteger(CLASS_ID);