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 OptiFine crash [1.20.1] #191

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

Conversation

KaiAF
Copy link

@KaiAF KaiAF commented Dec 20, 2023

I received a report that OptiFine was causing a crash for Valhesia-Structures. I took a look and noticed that inside the BlockModelRendererMixin class it was trying to modify a variable. Inside OptiFine's code, it removes both methods that the mixin is trying to target and replaces it with something else.

I have created a plugin config file and a new mixin class which targets the correct spot.
I also added a warning inside the logs mentioning that OptiFine is found, so that it can be easy for debugging crash reports.

image

Fixes #147, fixes #190

@Vaelzan Vaelzan requested a review from stal111 June 22, 2024 08:13
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