Minecraft 1.21.6-pre3 support
This commit is contained in:
parent
5348aad094
commit
5709a65785
@ -33,6 +33,11 @@ public class ListTag implements TypedTag
|
||||
listType = input.readByte();
|
||||
int length = input.readInt();
|
||||
|
||||
if ( length < 0 )
|
||||
{
|
||||
throw new NBTFormatException( "ListTag length cannot be negative" );
|
||||
}
|
||||
|
||||
if ( listType == Tag.END && length > 0 )
|
||||
{
|
||||
throw new NBTFormatException( "Missing type in ListTag" );
|
||||
|
@ -50,7 +50,7 @@ public class ProtocolConstants
|
||||
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_5 = 770;
|
||||
public static final int MINECRAFT_1_21_6 = 1073742076;
|
||||
public static final int MINECRAFT_1_21_6 = 1073742078;
|
||||
public static final List<String> SUPPORTED_VERSIONS;
|
||||
public static final List<Integer> SUPPORTED_VERSION_IDS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user