Fixed protocol version rename

This commit is contained in:
RaphiMC 2023-12-10 17:04:30 +01:00
parent 3cc5cb019a
commit 4cadbbc7fa
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -51,7 +51,7 @@ public abstract class MixinProtocolVersion {
remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null));
remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null));
remaps.put("1.20/1.20.1", new Pair<>("1.20-1.20.1", null));
remaps.put("1.20.3", new Pair<>("1.20.3-1.20.4", new VersionRange("1.20", 3, 4)));
remaps.put("1.20.3/1.20.4", new Pair<>("1.20.3-1.20.4", null));
}
@Redirect(method = "<clinit>", at = @At(value = "INVOKE", target = "Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;register(ILjava/lang/String;)Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;"))