mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-07 03:00:29 +01:00
Added island score block limits.
This commit is contained in:
parent
4bac2282c8
commit
5cc02f4e67
@ -260,7 +260,7 @@ public class Levelling {
|
|||||||
|
|
||||||
inventorySlot++;
|
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);
|
long materialAmountCounted = Math.min(materialLimit, materialAmount);
|
||||||
|
|
||||||
if (materialLimit == -1)
|
if (materialLimit == -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user