Updated Via API usage

This commit is contained in:
RaphiMC 2024-02-13 21:34:53 +01:00
parent 62597258c0
commit 6d91e44719
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -76,9 +76,6 @@ public abstract class MixinProtocolVersion {
final Pair<String, VersionRange> remapEntry = 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);