3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-25 15:50:10 +01:00

As per wiki.vg only unload if bitmask = 0 and full chunk (not sure if this fixes chunk issue)

Dieser Commit ist enthalten in:
Myles 2016-03-04 10:09:06 +00:00
Ursprung 963f021226
Commit 12df86a142

Datei anzeigen

@ -564,7 +564,7 @@ public class OutgoingTransformer {
int bitMask = input.readUnsignedShort(); int bitMask = input.readUnsignedShort();
if (bitMask == 0) { if (bitMask == 0 && groundUp) {
output.clear(); output.clear();
PacketUtil.writeVarInt(PacketType.PLAY_UNLOAD_CHUNK.getNewPacketID(), output); PacketUtil.writeVarInt(PacketType.PLAY_UNLOAD_CHUNK.getNewPacketID(), output);
output.writeInt(chunkX); output.writeInt(chunkX);