mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-12-11 19:16:55 +01:00
Count the correct items towards upgrade.
This commit is contained in:
parent
aa2cb99df3
commit
e36454bba5
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user