mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-22 16:48:25 +01:00
Updated Via API usage
This commit is contained in:
parent
e91e19473f
commit
d637e43f55
@ -78,9 +78,6 @@ public abstract class MixinProtocolVersion {
|
|||||||
final Pair<String, VersionRange> remapEntry = viaFabricPlus$remaps.get(name);
|
final Pair<String, VersionRange> remapEntry = viaFabricPlus$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