parent
518a5edb90
commit
ddc25570df
|
@ -89,9 +89,11 @@ public class PlayerData {
|
|||
public static void reloadPlayerLottery() {
|
||||
final Set<String> apl = playerdata.getKeys(false);
|
||||
for (final String p : apl) {
|
||||
if (playerdata.isConfigurationSection(p)) {
|
||||
loadPlayerLottery(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void reward(final int price) {
|
||||
playerdata.set("PriceTotal", playerdata.getInt("PriceTotal", 0) - price);
|
||||
|
|
Loading…
Reference in New Issue