Merge 1.16 into 1.18

This commit is contained in:
embeddedt 2023-08-03 17:01:11 -04:00
commit 022367c8d6
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -34,7 +34,7 @@ public class MinecraftMixin {
@Inject(method = "tick", at = @At("HEAD"))
private void onClientTick(CallbackInfo ci) {
if(this.overlay == null) {
if(this.overlay == null && ModernFixClient.INSTANCE != null) {
ModernFixClient.INSTANCE.onGameLaunchFinish();
}
}