Fixed protocol registry sorting issue

This commit is contained in:
RaphiMC 2023-11-12 02:44:23 +01:00
parent f4bcebe13e
commit 0e09507ede
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -111,7 +111,7 @@ public enum VersionEnum {
;
private static final Map<ProtocolVersion, VersionEnum> VERSION_REGISTRY = new HashMap<>();
private static final Map<ProtocolVersion, VersionEnum> VERSION_REGISTRY = new LinkedHashMap<>();
public static final List<VersionEnum> SORTED_VERSIONS = new ArrayList<>();
public static final List<VersionEnum> OFFICIAL_SUPPORTED_PROTOCOLS = new ArrayList<>();