Skip to content

Commit

Permalink
Mark 1.21.4 as the latest supported version
Browse files Browse the repository at this point in the history
  • Loading branch information
NEZNAMY committed Dec 3, 2024
1 parent 35075e8 commit c54a2b7
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public enum ProtocolVersion {

UNKNOWN,
V1_21_4 (769), // Predicted PVN
V1_21_4 (769),
V1_21_3 (768),
V1_21_2 (768),
V1_21_1 (767),
Expand Down Expand Up @@ -86,15 +86,12 @@ public enum ProtocolVersion {
private static final ProtocolVersion[] VALUES = values();

/** Newest MC version this plugin jar knows */
public static final ProtocolVersion LATEST_KNOWN_VERSION = V1_21_3;
public static final ProtocolVersion LATEST_KNOWN_VERSION = V1_21_4;

/** Version's network id found at <a href="https://wiki.vg/Protocol_version_numbers">wiki.vg</a> */
private final int networkId;

/** Version's minor version, such as 16 for 1.16.x. Allowing override to
* set minor version of UNKNOWN_SERVER_VERSION value to value from package to fix compatibility
* with server forks that set bukkit version field value to "Unknown".
*/
/** Version's minor version, such as 16 for 1.16.x */
private final int minorVersion;

/** Version's friendly name displayed in %player-version% placeholder */
Expand Down

0 comments on commit c54a2b7

Please sign in to comment.