3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 00:00:28 +01:00

Fix chunks on 1.11 encoder

Dieser Commit ist enthalten in:
Myles 2017-05-17 18:15:52 +01:00
Ursprung 3b1341f2b3
Commit 2bd03ad92c

Datei anzeigen

@ -280,6 +280,9 @@ public class Protocol1_11To1_10 extends Protocol {
Chunk1_9_3_4Type type = new Chunk1_9_3_4Type(clientWorld);
Chunk chunk = wrapper.passthrough(type);
// Clear any other bytes (This is a workaround for a issue with 1.9.2 encoder adding nbt list)
wrapper.clearInputBuffer();
if (chunk.getBlockEntities() == null) return;
for (CompoundTag tag : chunk.getBlockEntities()) {
if (tag.contains("id") &&