mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
generalized getFogDensity
- removed explicit check for the netherite diving helmet - added check for netherite armor instead (check for diving helmet is ensured)
This commit is contained in:
parent
2e1bcdb619
commit
fc56003450
@ -19,6 +19,7 @@ import com.simibubi.create.content.decoration.girder.GirderWrenchBehavior;
|
||||
import com.simibubi.create.content.equipment.armor.BacktankArmorLayer;
|
||||
import com.simibubi.create.content.equipment.armor.DivingHelmetItem;
|
||||
import com.simibubi.create.content.equipment.armor.NetheriteBacktankFirstPersonRenderer;
|
||||
import com.simibubi.create.content.equipment.armor.NetheriteDivingHandler;
|
||||
import com.simibubi.create.content.equipment.blueprint.BlueprintOverlayRenderer;
|
||||
import com.simibubi.create.content.equipment.clipboard.ClipboardValueSettingsHandler;
|
||||
import com.simibubi.create.content.equipment.extendoGrip.ExtendoGripRenderHandler;
|
||||
@ -316,7 +317,7 @@ public class ClientEvents {
|
||||
event.scaleFarPlaneDistance(6.25f);
|
||||
event.setCanceled(true);
|
||||
return;
|
||||
} else if (FluidHelper.isLava(fluid) && AllItems.NETHERITE_DIVING_HELMET.isIn(divingHelmet)) {
|
||||
} else if (FluidHelper.isLava(fluid) && NetheriteDivingHandler.isNetheriteArmor(divingHelmet)) {
|
||||
event.setNearPlaneDistance(-4.0f);
|
||||
event.setFarPlaneDistance(20.0f);
|
||||
event.setCanceled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user