mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Fixed copper with fortune on infernal touch
This commit is contained in:
parent
dcfc12fb9a
commit
cca7c377a2
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user