Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazkii committed Apr 9, 2024
1 parent 0826ae9 commit 02bbca8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 02bbca8

Please sign in to comment.