Skip to content

Commit 022367c

Browse files
committed
Merge 1.16 into 1.18
2 parents eac9edb + 5853f9b commit 022367c

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/java/org/embeddedt/modernfix/common/mixin/feature/measure_time

1 file changed

+1
-1
lines changed

common/src/main/java/org/embeddedt/modernfix/common/mixin/feature/measure_time/MinecraftMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private void recordReloadEnd(CallbackInfoReturnable<WorldStem> cir) {
3434

3535
@Inject(method = "tick", at = @At("HEAD"))
3636
private void onClientTick(CallbackInfo ci) {
37-
if(this.overlay == null) {
37+
if(this.overlay == null && ModernFixClient.INSTANCE != null) {
3838
ModernFixClient.INSTANCE.onGameLaunchFinish();
3939
}
4040
}

0 commit comments

Comments
 (0)