mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-12-04 07:43:22 +01:00
Count the correct items towards upgrade.
This commit is contained in:
parent
aa2cb99df3
commit
e36454bba5
@ -56,7 +56,9 @@ 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++;
|
||||||
this.tolevel++;
|
|
||||||
|
if (Settings.UPGRADE_COST.getMaterial().matches(e.getResult()))
|
||||||
|
this.tolevel++;
|
||||||
|
|
||||||
int multi = Settings.LEVEL_MULTIPLIER.getInt();
|
int multi = Settings.LEVEL_MULTIPLIER.getInt();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user