fix: 修复数据载入错误

Signed-off-by: 502647092 <admin@yumc.pw>
master
502647092 2016-08-16 09:20:01 +08:00
parent 518a5edb90
commit ddc25570df
1 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,9 @@ public class PlayerData {
public static void reloadPlayerLottery() {
final Set<String> apl = playerdata.getKeys(false);
for (final String p : apl) {
loadPlayerLottery(p);
if (playerdata.isConfigurationSection(p)) {
loadPlayerLottery(p);
}
}
}