From e1d858f2aad7429ee7ad3d7fce5fae7e82a22126 Mon Sep 17 00:00:00 2001 From: Dalton <48583030+Burchard36@users.noreply.github.com> Date: Tue, 15 Aug 2023 12:19:12 -0700 Subject: [PATCH] Small Change, remove dimenstion check when loading worlds (#2369) This is the cause behind dimMapped Worlds not receiving there skyboxes when relogging/teleporting to the world --- .../zmaster587/advancedRocketry/event/PlanetEventHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/zmaster587/advancedRocketry/event/PlanetEventHandler.java b/src/main/java/zmaster587/advancedRocketry/event/PlanetEventHandler.java index 243ad96e4..32b1379aa 100644 --- a/src/main/java/zmaster587/advancedRocketry/event/PlanetEventHandler.java +++ b/src/main/java/zmaster587/advancedRocketry/event/PlanetEventHandler.java @@ -401,7 +401,7 @@ public void loadExtraData(ChunkDataEvent.Load event) { public void worldLoadEvent(WorldEvent.Load event) { if(!event.getWorld().isRemote) AtmosphereHandler.registerWorld(event.getWorld().provider.getDimension()); - else if(ARConfiguration.getCurrentConfig().skyOverride && event.getWorld().provider.getDimension() == 0) + else if(ARConfiguration.getCurrentConfig().skyOverride) event.getWorld().provider.setSkyRenderer(new RenderPlanetarySky()); }