Skip to content
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

Fix NullPointerException when first joining world #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ViRb3
Copy link

@ViRb3 ViRb3 commented May 13, 2020

When using this mod with the FTB Revelation modpack (1.12.2), at some point joining the server with ItemESP enabled will start always crashing the game due to a NPE in mc.getRenderManager().options. The only vanilla fix is to start a new single-player world, disable ItemESP, and log back in to the server. Re-enabling ItemESP after the inital load seems to work just fine. I assume that the ItemESP is called earlier than it should be, before the render manager options are loaded. I don't know if this PR is a proper fix, but it works great for me.

@CLAassistant
Copy link

CLAassistant commented May 13, 2020

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants