diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/InfernalTouch.java b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/InfernalTouch.java index 2618a26f..4c51e3d9 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/InfernalTouch.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/InfernalTouch.java @@ -39,7 +39,7 @@ public final class InfernalTouch extends EcoEnchant { continue; } FurnaceRecipe furnaceRecipe = (FurnaceRecipe) recipe; - recipes.put(furnaceRecipe.getInput().getType(), new Pair<>(furnaceRecipe.getResult().getType(), (int) furnaceRecipe.getExperience())); + recipes.put(furnaceRecipe.getInput().getType(), new Pair<>(furnaceRecipe.getResult().getType(), (int) Math.ceil(furnaceRecipe.getExperience()))); } } @@ -83,6 +83,7 @@ public final class InfernalTouch extends EcoEnchant { if(fortune > 0 && allowsFortune.contains(itemStack.getType())) { itemStack.setAmount((int) Math.ceil(1/((double) fortune + 2) + ((double) fortune + 1)/2)); + experience.addAndGet(1); } });