mirror of
https://github.com/SimplexDevelopment/FeelingLucky.git
synced 2025-07-04 19:16:41 +00:00
RC04 - Patch 0002
Changelog: - Renamed LuckContainer#baseValue() to getValue() - Changed the way files save by using the Map#values() call instead of iterating the kvp's. - Made the actual percentage rng value round to the closest whole number before being checked. - Changed Luck#defaultValue() to getDefaultValue().
This commit is contained in:
@ -52,6 +52,6 @@ public final class FeelingLucky extends JavaPlugin {
|
||||
@Override
|
||||
public void onDisable() {
|
||||
Bukkit.getLogger().info("Saving all player configurations...");
|
||||
configMap.forEach((u, pc) -> pc.save());
|
||||
configMap.values().forEach(PlayerConfig::save);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user