Update mixin for 1.18
This commit is contained in:
parent
9306743001
commit
9c02b2c393
|
|
@ -15,7 +15,7 @@ public abstract class NetworkHooksMixin {
|
||||||
throw new AssertionError();
|
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) {
|
private static void setVanillaGlobalFlag(Connection manager, CallbackInfo ci) {
|
||||||
NetworkUtils.isCurrentlyVanilla = isVanillaConnection(manager);
|
NetworkUtils.isCurrentlyVanilla = isVanillaConnection(manager);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user