Minecraft 1.18-pre5 support
This commit is contained in:
@@ -36,7 +36,7 @@ public class ProtocolConstants
|
||||
public static final int MINECRAFT_1_16_4 = 754;
|
||||
public static final int MINECRAFT_1_17 = 755;
|
||||
public static final int MINECRAFT_1_17_1 = 756;
|
||||
public static final int MINECRAFT_1_18 = 1073741873;
|
||||
public static final int MINECRAFT_1_18 = 1073741877;
|
||||
public static final List<String> SUPPORTED_VERSIONS;
|
||||
public static final List<Integer> SUPPORTED_VERSION_IDS;
|
||||
|
||||
@@ -52,7 +52,8 @@ public class ProtocolConstants
|
||||
"1.14.x",
|
||||
"1.15.x",
|
||||
"1.16.x",
|
||||
"1.17.x"
|
||||
"1.17.x",
|
||||
"1.18.x"
|
||||
);
|
||||
ImmutableList.Builder<Integer> supportedVersionIds = ImmutableList.<Integer>builder().add(
|
||||
ProtocolConstants.MINECRAFT_1_8,
|
||||
@@ -83,13 +84,14 @@ public class ProtocolConstants
|
||||
ProtocolConstants.MINECRAFT_1_16_3,
|
||||
ProtocolConstants.MINECRAFT_1_16_4,
|
||||
ProtocolConstants.MINECRAFT_1_17,
|
||||
ProtocolConstants.MINECRAFT_1_17_1
|
||||
ProtocolConstants.MINECRAFT_1_17_1,
|
||||
ProtocolConstants.MINECRAFT_1_18
|
||||
);
|
||||
|
||||
if ( SNAPSHOT_SUPPORT )
|
||||
{
|
||||
supportedVersions.add( "1.18.x" );
|
||||
supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_18 );
|
||||
// supportedVersions.add( "1.18.x" );
|
||||
// supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_18 );
|
||||
}
|
||||
|
||||
SUPPORTED_VERSIONS = supportedVersions.build();
|
||||
|
Reference in New Issue
Block a user