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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 1.12
Choose a base branch
from

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