Minecraft 1.21.5 support
This commit is contained in:
parent
687c302610
commit
c820b3a062
@ -49,7 +49,7 @@ public class ProtocolConstants
|
|||||||
public static final int MINECRAFT_1_21 = 767;
|
public static final int MINECRAFT_1_21 = 767;
|
||||||
public static final int MINECRAFT_1_21_2 = 768;
|
public static final int MINECRAFT_1_21_2 = 768;
|
||||||
public static final int MINECRAFT_1_21_4 = 769;
|
public static final int MINECRAFT_1_21_4 = 769;
|
||||||
public static final int MINECRAFT_1_21_5 = 1073742066;
|
public static final int MINECRAFT_1_21_5 = 770;
|
||||||
public static final List<String> SUPPORTED_VERSIONS;
|
public static final List<String> SUPPORTED_VERSIONS;
|
||||||
public static final List<Integer> SUPPORTED_VERSION_IDS;
|
public static final List<Integer> SUPPORTED_VERSION_IDS;
|
||||||
|
|
||||||
@ -113,13 +113,14 @@ public class ProtocolConstants
|
|||||||
ProtocolConstants.MINECRAFT_1_20_5,
|
ProtocolConstants.MINECRAFT_1_20_5,
|
||||||
ProtocolConstants.MINECRAFT_1_21,
|
ProtocolConstants.MINECRAFT_1_21,
|
||||||
ProtocolConstants.MINECRAFT_1_21_2,
|
ProtocolConstants.MINECRAFT_1_21_2,
|
||||||
ProtocolConstants.MINECRAFT_1_21_4
|
ProtocolConstants.MINECRAFT_1_21_4,
|
||||||
|
ProtocolConstants.MINECRAFT_1_21_5
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( SNAPSHOT_SUPPORT )
|
if ( SNAPSHOT_SUPPORT )
|
||||||
{
|
{
|
||||||
// supportedVersions.add( "1.21.x" );
|
// supportedVersions.add( "1.21.x" );
|
||||||
supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_21_5 );
|
// supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_21_5 );
|
||||||
}
|
}
|
||||||
|
|
||||||
SUPPORTED_VERSIONS = supportedVersions.build();
|
SUPPORTED_VERSIONS = supportedVersions.build();
|
||||||
|
Loading…
Reference in New Issue
Block a user