From 6b8794b4f33c28aaa67efcaabe602961101e2e62 Mon Sep 17 00:00:00 2001 From: attackeight Date: Tue, 7 May 2024 07:01:23 -0400 Subject: [PATCH] Change logic to make more sense --- .../create/content/equipment/armor/NetheriteDivingHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/equipment/armor/NetheriteDivingHandler.java b/src/main/java/com/simibubi/create/content/equipment/armor/NetheriteDivingHandler.java index 1432d60c8..ccd9c6e62 100644 --- a/src/main/java/com/simibubi/create/content/equipment/armor/NetheriteDivingHandler.java +++ b/src/main/java/com/simibubi/create/content/equipment/armor/NetheriteDivingHandler.java @@ -58,7 +58,7 @@ public final class NetheriteDivingHandler { } public static boolean isNetheriteArmor(ItemStack stack) { - return stack.getItem() instanceof ArmorItem armorItem && armorItem.getMaterial().getRepairIngredient().getItems()[0].is(Tags.Items.INGOTS_NETHERITE); + return stack.getItem() instanceof ArmorItem armorItem && armorItem.isFireResistant(); } public static void setBit(LivingEntity entity, EquipmentSlot slot) {