Quark Oddities

Quark Oddities

22M Downloads

Quark and Twitchy causing crash.

OCDiary opened this issue ยท 0 comments

commented

Hey Vazkii,
We have had a report of a crash when using our mod (Twitchy) and Quark together.

Here is all the relevant information regarding the crash:

Forge version: v14.23.2.2615

Quark version: r1.4-122

The Error: https://paste.ee/p/ZDjxk

Twitchy fired event: https://github.com/OCDiary/Twitchy/blob/master/src/main/java/ocdiary/twitchy/RenderingHandler.java#L144

Event causing the crash: https://github.com/Vazkii/Quark/blob/master/src/main/java/vazkii/quark/client/feature/ChestSearchBar.java#L175

Build of Twitchy mod being used: https://minecraft.curseforge.com/projects/twitch-checker/files/2531216

We have done some investigating and have a proposed fix for the issue. We have discovered there is a point where the screen call be null (here). Would it be possible to nullcheck the current screen before calling the renderElements() method? We think this would be a suitable fix for the issue.

Thanks
OC