From 3b961ab9a3fd073e5b67c1a25581029ad450d040 Mon Sep 17 00:00:00 2001 From: Zrips Date: Tue, 29 Oct 2019 15:58:35 +0200 Subject: [PATCH] Lets allow integers for item boosts --- src/main/java/com/gamingmesh/jobs/ItemBoostManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/ItemBoostManager.java b/src/main/java/com/gamingmesh/jobs/ItemBoostManager.java index 890dd0b9..f254067d 100644 --- a/src/main/java/com/gamingmesh/jobs/ItemBoostManager.java +++ b/src/main/java/com/gamingmesh/jobs/ItemBoostManager.java @@ -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); }