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