We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0208a commit 9fa2e90Copy full SHA for 9fa2e90
src/main/java/com/cleanroommc/modularui/core/mixin/MinecraftMixin.java
@@ -20,7 +20,7 @@ public class MinecraftMixin {
20
ordinal = 2,
21
shift = At.Shift.AFTER))
22
public void timer(CallbackInfo ci) {
23
- if (ModularUI.proxy.getTimer60Fps() == null) return;
+ if (ModularUI.proxy == null || ModularUI.proxy.getTimer60Fps() == null) return;
24
ModularUI.proxy.getTimer60Fps().updateTimer();
25
ModularScreen screen = ModularScreen.getCurrent();
26
if (screen != null) {
0 commit comments