From cca7c377a2a38a9a267c2fed9e1db35c3daf1f3c Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 1 Jan 2022 16:05:02 +0000 Subject: [PATCH] Fixed copper with fortune on infernal touch --- .../enchantments/ecoenchants/normal/InfernalTouch.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/InfernalTouch.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/InfernalTouch.java index 6ffadee2..2cfebdd7 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/InfernalTouch.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/InfernalTouch.java @@ -1,5 +1,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.normal; +import com.willfp.eco.core.Prerequisite; import com.willfp.eco.core.drops.DropQueue; import com.willfp.eco.core.integrations.antigrief.AntigriefManager; import com.willfp.eco.core.tuples.Pair; @@ -50,6 +51,10 @@ public class InfernalTouch extends EcoEnchant { int xp = (int) Math.ceil(furnaceRecipe.getExperience()); RECIPES.put(furnaceRecipe.getInput().getType(), new Pair<>(furnaceRecipe.getResult().getType(), xp)); } + + if (Prerequisite.HAS_1_17.isMet()) { + FORTUNE_MATERIALS.add(Material.COPPER_INGOT); + } } public InfernalTouch() {