From 02bbca87a5d18ee87b7ba38506a5182c937357d9 Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Tue, 9 Apr 2024 10:26:10 +0100 Subject: [PATCH] Fix VazkiiMods/Quark#4734 --- .../zetaimplforge/item/IForgeItemItemExtensions.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/violetmoon/zetaimplforge/item/IForgeItemItemExtensions.java b/src/main/java/org/violetmoon/zetaimplforge/item/IForgeItemItemExtensions.java index 534df3c..04baeed 100644 --- a/src/main/java/org/violetmoon/zetaimplforge/item/IForgeItemItemExtensions.java +++ b/src/main/java/org/violetmoon/zetaimplforge/item/IForgeItemItemExtensions.java @@ -20,6 +20,7 @@ import net.minecraft.world.item.crafting.RecipeType; import net.minecraft.world.item.enchantment.Enchantment; import net.minecraft.world.level.LevelReader; +import net.minecraftforge.common.ForgeHooks; import net.minecraftforge.common.ToolActions; public class IForgeItemItemExtensions implements IZetaItemExtensions { @@ -97,7 +98,7 @@ public boolean shouldCauseReequipAnimationZeta(ItemStack oldStack, ItemStack new @Override public int getBurnTimeZeta(ItemStack stack, @Nullable RecipeType recipeType) { - return stack.getBurnTime(recipeType); + return ForgeHooks.getBurnTime(stack, recipeType); } @Override