Update mixin for 1.18

This commit is contained in:
embeddedt 2023-10-05 14:12:26 -04:00
parent 9306743001
commit 9c02b2c393

View File

@ -15,7 +15,7 @@ public abstract class NetworkHooksMixin {
throw new AssertionError();
}
@Inject(method = "handleClientLoginSuccess", at = @At("RETURN"))
@Inject(method = "handleClientLoginSuccess", at = @At("RETURN"), remap = false)
private static void setVanillaGlobalFlag(Connection manager, CallbackInfo ci) {
NetworkUtils.isCurrentlyVanilla = isVanillaConnection(manager);
}