Added island score block limits.

This commit is contained in:
WolfDW 2020-06-25 02:44:54 +00:00
parent 4bac2282c8
commit 5cc02f4e67

View File

@ -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)