mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 05:55:27 +01:00
Lets allow integers for item boosts
This commit is contained in:
parent
64bbc0fe29
commit
3b961ab9a3
@ -159,7 +159,7 @@ public class ItemBoostManager {
|
||||
|
||||
BoostMultiplier b = new BoostMultiplier();
|
||||
for (CurrencyType oneC : CurrencyType.values()) {
|
||||
if (cfg.getC().isDouble(one + "." + oneC.toString().toLowerCase() + "Boost"))
|
||||
if (cfg.getC().isDouble(one + "." + oneC.toString().toLowerCase() + "Boost") || cfg.getC().isInt(one + "." + oneC.toString().toLowerCase() + "Boost"))
|
||||
b.add(oneC, cfg.get(one + "." + oneC.toString().toLowerCase() + "Boost", 1D) - 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user