Workaround villager packet causing issues

This commit is contained in:
Myles 2019-04-23 13:02:18 +01:00
parent dad71f1179
commit c3e406e95b

View File

@ -300,7 +300,7 @@ public class InventoryPackets {
CompoundTag tag = new CompoundTag("");
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.sendToServer(Protocol1_14To1_13_2.class, true, true);
resyncPacket.sendToServer(Protocol1_14To1_13_2.class, true, false);
}
});
}