mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Improved item tier capacity input
This commit is contained in:
parent
081d14c252
commit
28dd0cb67c
@ -82,7 +82,7 @@ public class ItemTier {
|
||||
|
||||
// What are the chances?
|
||||
chance = config.getDouble("generation.chance");
|
||||
capacity = config.contains("generation.capacity") ? new NumericStatFormula(config.getConfigurationSection("generation.capacity")) : null;
|
||||
capacity = config.contains("generation.capacity") ? new NumericStatFormula(config.get("generation.capacity")) : null;
|
||||
}
|
||||
|
||||
@NotNull public String getId() { return id; }
|
||||
|
Loading…
Reference in New Issue
Block a user