diff --git a/src/main/java/WayofTime/bloodmagic/util/handler/event/CraftingHandler.java b/src/main/java/WayofTime/bloodmagic/util/handler/event/CraftingHandler.java index 119e96a2..c1456262 100644 --- a/src/main/java/WayofTime/bloodmagic/util/handler/event/CraftingHandler.java +++ b/src/main/java/WayofTime/bloodmagic/util/handler/event/CraftingHandler.java @@ -143,7 +143,7 @@ public class CraftingHandler { @SubscribeEvent public static void handleFuelLevel(FurnaceFuelBurnTimeEvent event) { - if (event.getItemStack().getItem() == RegistrarBloodMagicItems.COMPONENT && event.getItemStack().getMetadata() == ComponentTypes.SAND_COAL.ordinal()) + if (ItemStack.areItemsEqual(event.getItemStack(), ComponentTypes.SAND_COAL.getStack())) event.setBurnTime(TileEntityFurnace.getItemBurnTime(new ItemStack(Items.COAL))); } }