Skip to content

Commit

Permalink
Small Change, remove dimenstion check when loading worlds (#2369)
Browse files Browse the repository at this point in the history
This is the cause behind dimMapped Worlds not receiving there skyboxes when relogging/teleporting to the world
  • Loading branch information
Burchard36 authored Aug 15, 2023
1 parent 917fa17 commit e1d858f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit e1d858f

Please sign in to comment.