3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00

Workaround villager packet causing issues

Dieser Commit ist enthalten in:
Myles 2019-04-23 13:02:18 +01:00
Ursprung dad71f1179
Commit c3e406e95b

Datei anzeigen

@ -300,7 +300,7 @@ public class InventoryPackets {
CompoundTag tag = new CompoundTag(""); CompoundTag tag = new CompoundTag("");
tag.put(new DoubleTag("force_resync", Double.NaN)); // Tags with NaN are not equal tag.put(new DoubleTag("force_resync", Double.NaN)); // Tags with NaN are not equal
resyncPacket.write(Type.FLAT_VAR_INT_ITEM, new Item(1, (byte) 1, (short) 0, tag)); // 5 - Clicked Item resyncPacket.write(Type.FLAT_VAR_INT_ITEM, new Item(1, (byte) 1, (short) 0, tag)); // 5 - Clicked Item
resyncPacket.sendToServer(Protocol1_14To1_13_2.class, true, true); resyncPacket.sendToServer(Protocol1_14To1_13_2.class, true, false);
} }
}); });
} }