Ladysnake / Illuminations

Fireflies and other illuminations to make your world more enjoyable in darkness.
https://ladysnake.github.io/wiki/illuminations/
Other
135 stars 41 forks source link

Fix NPE if PLAYER_AURAS couldn't be set #36

Closed sschr15 closed 4 years ago

sschr15 commented 4 years ago

If PLAYER_AURAS was never set, possibly due to an I/O error, PLAYER_AURAS will be null, and that causes an NPE upon loading a world if left that way. This is meant to prevent that by checking if it isn't null.

doctor4t commented 4 years ago

Good quick fix but #37 additionally moves the aura retrieval to another thread