Skip to content

Use HashMap of SkyModels instead of a single SkyModel in order to avoid a null pointer exception when more than one world is loaded at once#117

Open
Tank-Missile wants to merge 2 commits intoMinecraftModDevelopmentMods:1.12from
Tank-Missile:1.12
Open

Use HashMap of SkyModels instead of a single SkyModel in order to avoid a null pointer exception when more than one world is loaded at once#117
Tank-Missile wants to merge 2 commits intoMinecraftModDevelopmentMods:1.12from
Tank-Missile:1.12

Conversation

@Tank-Missile
Copy link

@Tank-Missile Tank-Missile commented Feb 18, 2020

There's 1 issue currently that I have not solved, and that is when a portal is opened, the sky is default instead of the changed sky model. This is due to the sky model not being created until going through a portal.

I fixed the above issue by using EntityJoinWorldEvent in StellarAPI's StellarAPINetworkManager. Hopefully this will do.

a null pointer exception when more than one world is loaded at once.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant