parent
500e8e571c
commit
92a839ce5d
|
@ -43,7 +43,9 @@ public class PlayerData {
|
|||
public static void clearLottery() {
|
||||
for (final Entry<String, List<List<String>>> pl : playerLottery.entrySet()) {
|
||||
final String p = pl.getKey();
|
||||
playerdata.set(p, null);
|
||||
if (p != null && !"".equals(p)) {
|
||||
playerdata.set(p, null);
|
||||
}
|
||||
}
|
||||
playerLottery.clear();
|
||||
playerdata.save();
|
||||
|
|
Loading…
Reference in New Issue