Fixed copper with fortune on infernal touch

This commit is contained in:
Auxilor 2022-01-01 16:05:02 +00:00
parent dcfc12fb9a
commit cca7c377a2

View File

@ -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() {