From 5cc02f4e676864d427d2d645870bba8543ddd377 Mon Sep 17 00:00:00 2001 From: WolfDW Date: Thu, 25 Jun 2020 02:44:54 +0000 Subject: [PATCH] Added island score block limits. --- src/main/java/com/songoda/skyblock/menus/Levelling.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/skyblock/menus/Levelling.java b/src/main/java/com/songoda/skyblock/menus/Levelling.java index 300893cb..f879a80b 100644 --- a/src/main/java/com/songoda/skyblock/menus/Levelling.java +++ b/src/main/java/com/songoda/skyblock/menus/Levelling.java @@ -260,7 +260,7 @@ public class Levelling { inventorySlot++; - long materialLimit = mainConfig.getFileConfiguration().getLong("Materials." + material + ".Limit", materialAmount); + long materialLimit = mainConfig.getFileConfiguration().getLong("Materials." + material + ".Limit", -1); long materialAmountCounted = Math.min(materialLimit, materialAmount); if (materialLimit == -1)