1.16.2-pre2

This commit is contained in:
KennyTV 2020-08-05 18:19:00 +02:00
parent 03733d274a
commit cf7d49aec5
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
13 changed files with 12 additions and 14 deletions

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -84,7 +84,7 @@ public class ProtocolVersion {
register(v1_15_2 = new ProtocolVersion(578, "1.15.2"));
register(v1_16 = new ProtocolVersion(735, "1.16"));
register(v1_16_1 = new ProtocolVersion(736, "1.16.1"));
register(v1_16_2 = new ProtocolVersion(744, "1.16.2"));
register(v1_16_2 = new ProtocolVersion(746, "1.16.2"));
register(unknown = new ProtocolVersion(-1, "UNKNOWN"));
}

View File

@ -29,7 +29,6 @@ public class Chunk1_16_2Type extends PartialType<Chunk, ClientWorld> {
int chunkZ = input.readInt();
boolean fullChunk = input.readBoolean();
boolean ignoreOldLightData = input.readBoolean();
int primaryBitmask = Type.VAR_INT.readPrimitive(input);
CompoundTag heightMap = Type.NBT.read(input);
@ -61,7 +60,7 @@ public class Chunk1_16_2Type extends PartialType<Chunk, ClientWorld> {
}
}
return new BaseChunk(chunkX, chunkZ, fullChunk, ignoreOldLightData, primaryBitmask, sections, biomeData, heightMap, nbtData);
return new BaseChunk(chunkX, chunkZ, fullChunk, false, primaryBitmask, sections, biomeData, heightMap, nbtData);
}
@Override
@ -70,7 +69,6 @@ public class Chunk1_16_2Type extends PartialType<Chunk, ClientWorld> {
output.writeInt(chunk.getZ());
output.writeBoolean(chunk.isFullChunk());
output.writeBoolean(chunk.isIgnoreOldLightData());
Type.VAR_INT.writePrimitive(output, chunk.getBitmask());
Type.NBT.write(output, chunk.getHeightMap());

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>viaversion-jar</name>

View File

@ -6,7 +6,7 @@
<groupId>us.myles</groupId>
<artifactId>viaversion-parent</artifactId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
<packaging>pom</packaging>
<name>viaversion-parent</name>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.1.0-1.16.2-pre1</version>
<version>3.1.0-1.16.2-pre2</version>
</parent>
<modelVersion>4.0.0</modelVersion>