From d637e43f55b8d29f558182d02036b459ecc38261 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Tue, 13 Feb 2024 21:44:01 +0100 Subject: [PATCH] Updated Via API usage --- .../injection/mixin/viaversion/MixinProtocolVersion.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java index 8042ac7c..cf6644b5 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java @@ -78,9 +78,6 @@ public abstract class MixinProtocolVersion { final Pair remapEntry = viaFabricPlus$remaps.get(name); if (remapEntry != null) { if (remapEntry.key() != null) name = remapEntry.key(); - if (remapEntry.value() != null) { - return ProtocolVersion.register(version, snapshotVersion, name, remapEntry.value()); - } } return ProtocolVersion.register(version, snapshotVersion, name);