rewire getInstance() for configs

This commit is contained in:
nossr50
2019-02-17 11:32:53 -08:00
parent f4ba472403
commit d7e0c95984
13 changed files with 162 additions and 49 deletions

View File

@@ -97,7 +97,7 @@ public final class ShareHandler {
switch (shareMode) {
case EQUAL:
int itemWeight = ItemWeightMainConfig.getInstance().getItemWeight(itemStack.getType());
int itemWeight = ItemWeightConfig.getInstance().getItemWeight(itemStack.getType());
for (int i = 0; i < itemStack.getAmount(); i++) {
int highestRoll = 0;