Minecraft 1.21.6 support
This commit is contained in:
parent
97f65726d2
commit
5b05934fe8
@ -50,7 +50,7 @@ public class ProtocolConstants
|
|||||||
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 = 770;
|
public static final int MINECRAFT_1_21_5 = 770;
|
||||||
public static final int MINECRAFT_1_21_6 = 1073742078;
|
public static final int MINECRAFT_1_21_6 = 771;
|
||||||
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;
|
||||||
|
|
||||||
@ -115,13 +115,14 @@ public class ProtocolConstants
|
|||||||
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
|
ProtocolConstants.MINECRAFT_1_21_5,
|
||||||
|
ProtocolConstants.MINECRAFT_1_21_6
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( SNAPSHOT_SUPPORT )
|
if ( SNAPSHOT_SUPPORT )
|
||||||
{
|
{
|
||||||
// supportedVersions.add( "1.21.x" );
|
// supportedVersions.add( "1.21.x" );
|
||||||
supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_21_6 );
|
// supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_21_6 );
|
||||||
}
|
}
|
||||||
|
|
||||||
SUPPORTED_VERSIONS = supportedVersions.build();
|
SUPPORTED_VERSIONS = supportedVersions.build();
|
||||||
|
Loading…
Reference in New Issue
Block a user