Skip to content

Conversation

@tatergirl
Copy link

If the os reported by System.getProperty("os.name") is not one of the 3 that are expected, GetOS() will try to compare a string against NULL, throwing an uncaught exception. This is not the best fix, but it will at least prevent a NullPointerException.

I found this problem while trying to run this mod on OpenBSD 7.5 and having it crash due to this :3

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