Remove spacesuit from fortress armor and voidmetal goggles (#48)

This commit is contained in:
FourIsTheNumber authored and GitHub committed 2026-06-03 11:51:34 +02:00
1 parent 3d38610682
commit 45c987f345
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -8,5 +8,5 @@ dependencies {
exclude group: 'com.github.GTNewHorizons', module: 'Tainted-Magic'
exclude module: 'Baubles'
}
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.380:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.576:dev')
}
@@ -118,6 +118,6 @@ public class ItemShadowFortressArmor extends ItemFortressArmor
@Override
@Optional.Method(modid = "gregtech_nh")
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
return true;
return Hazard.STANDARD_HAZARDS.contains(hazard);
}
}
@@ -82,6 +82,6 @@ public class ItemVoidFortressArmor extends ItemFortressArmor
@Override
@Optional.Method(modid = "gregtech_nh")
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
return true;
return Hazard.STANDARD_HAZARDS.contains(hazard);
}
}
@@ -66,6 +66,6 @@ public class ItemVoidmetalGoggles extends ItemGoggles implements IWarpingGear, I
@Override
@Optional.Method(modid = "gregtech_nh")
public boolean protectsAgainst(ItemStack itemStack, Hazard hazard) {
return true;
return Hazard.STANDARD_HAZARDS.contains(hazard);
}
}