mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 07:27:15 +01:00
Change logic to make more sense
This commit is contained in:
parent
f5c82022ce
commit
6b8794b4f3
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue