21w39a (probably)

This commit is contained in:
Nassim Jahnke 2021-09-29 20:16:31 +02:00
parent 5bfee3339a
commit 50f3a05fa5
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
3 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,6 @@ import java.util.stream.LongStream;
// - Small byteArray() optimization
// - acceptLegacy = true by default
// - Don't parse value as DoubleTag when possiblyNumeric
// - Fix trailing comma reading in compounds, lists, and arrays
final class TagStringReader {
private static final int MAX_DEPTH = 512;
private static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
@ -324,7 +323,7 @@ final class TagStringReader {
return true;
}
this.buffer.expect(Tokens.VALUE_SEPARATOR);
return this.buffer.takeIf(endCharacter); // Via - trailing commas are allowed
return this.buffer.takeIf(endCharacter);
}
/**

View File

@ -78,7 +78,7 @@ public class ProtocolVersion {
public static final ProtocolVersion v1_16_4 = register(754, "1.16.4/5", new VersionRange("1.16", 4, 5));
public static final ProtocolVersion v1_17 = register(755, "1.17");
public static final ProtocolVersion v1_17_1 = register(756, "1.17.1");
public static final ProtocolVersion v1_18 = register(757, 42, "1.18");
public static final ProtocolVersion v1_18 = register(757, 43, "1.18");
public static final ProtocolVersion unknown = register(-1, "UNKNOWN");
public static ProtocolVersion register(int version, String name) {

View File

@ -1,5 +1,5 @@
# Project properties - we put these here so they can be modified without causing a recompile of the build scripts
projectVersion=4.1.0-21w38a-SNAPSHOT
projectVersion=4.1.0-21w39a-SNAPSHOT
# Gradle properties
org.gradle.daemon=true