mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2025-01-03 18:38:24 +01:00
Updated Via API usage
This commit is contained in:
parent
62597258c0
commit
6d91e44719
@ -76,9 +76,6 @@ public abstract class MixinProtocolVersion {
|
|||||||
final Pair<String, VersionRange> remapEntry = remaps.get(name);
|
final Pair<String, VersionRange> remapEntry = remaps.get(name);
|
||||||
if (remapEntry != null) {
|
if (remapEntry != null) {
|
||||||
if (remapEntry.key() != null) name = remapEntry.key();
|
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);
|
return ProtocolVersion.register(version, snapshotVersion, name);
|
||||||
|
Loading…
Reference in New Issue
Block a user