Count the correct items towards upgrade.

This commit is contained in:
Brianna 2019-11-09 10:11:38 -05:00
parent aa2cb99df3
commit e36454bba5

View File

@ -56,7 +56,9 @@ public class Furnace {
if (!block.getType().name().contains("FURNACE") && !block.getType().name().contains("SMOKER")) return;
this.uses++;
this.tolevel++;
if (Settings.UPGRADE_COST.getMaterial().matches(e.getResult()))
this.tolevel++;
int multi = Settings.LEVEL_MULTIPLIER.getInt();