add nullcheck (fix #96)
This commit is contained in:
parent
22a6cfd851
commit
b66c0d5c5c
|
@ -369,7 +369,9 @@ public class ScoreDB {
|
||||||
version = s.version;
|
version = s.version;
|
||||||
list = new ArrayList<ScoreData>();
|
list = new ArrayList<ScoreData>();
|
||||||
}
|
}
|
||||||
list.add(s);
|
if (list != null) {
|
||||||
|
list.add(s);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (list != null)
|
if (list != null)
|
||||||
map.put(version, getSortedArray(list));
|
map.put(version, getSortedArray(list));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user