diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinConnectScreen_1.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinConnectScreen_1.java index 10361f6b..af7fb6d6 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinConnectScreen_1.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinConnectScreen_1.java @@ -67,7 +67,7 @@ public class MixinConnectScreen_1 { @Shadow ServerInfo field_40415; - @Redirect(method = "run", at = @At(value = "INVOKE", target = "Ljava/net/InetSocketAddress;getHostName()Ljava/lang/String;", ordinal = 1)) + @Redirect(method = "run", at = @At(value = "INVOKE", target = "Ljava/net/InetSocketAddress;getHostName()Ljava/lang/String;", ordinal = 0)) public String replaceAddress(InetSocketAddress instance) { if (ProtocolHack.isOlderThanOrEqualToOrForced(instance, ProtocolVersion.v1_17) || ProtocolHack.isEqualToOrForced(instance, BedrockProtocolVersion.bedrockLatest)) return field_33737.getAddress(); diff --git a/src/main/resources/viafabricplus.mixins.json b/src/main/resources/viafabricplus.mixins.json index 68957a39..ed1cff35 100644 --- a/src/main/resources/viafabricplus.mixins.json +++ b/src/main/resources/viafabricplus.mixins.json @@ -78,8 +78,10 @@ "fixes.minecraft.input.MixinKeyboard", "fixes.minecraft.input.MixinKeyboardInput", "fixes.minecraft.input.MixinMouse", + "fixes.minecraft.item.MixinArmorItem", "fixes.minecraft.item.MixinAxeItem", "fixes.minecraft.item.MixinBlockItem", + "fixes.minecraft.item.MixinElytraItem", "fixes.minecraft.item.MixinEnderPearlItem", "fixes.minecraft.item.MixinFireworkRocketItem", "fixes.minecraft.item.MixinHeldItemRenderer", @@ -147,9 +149,7 @@ "fixes.viaversion.protocol1_9to1_8.MixinEntityTracker1_9", "fixes.viaversion.protocol1_9to1_8.MixinMetadataRewriter1_9To1_8", "fixes.viaversion.protocol1_9to1_8.MixinMovementTracker", - "fixes.viaversion.protocol1_9to1_8.MixinViaIdleThread", - "fixes.minecraft.item.MixinArmorItem", - "fixes.minecraft.item.MixinElytraItem" + "fixes.viaversion.protocol1_9to1_8.MixinViaIdleThread" ], "injectors": { "defaultRequire": 1