Handle head rotation in all versions, pretty sure it won't be pretty in 1.14 at least

This commit is contained in:
libraryaddict 2020-03-01 23:52:04 +13:00
parent e276773bf3
commit f28e520b09
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -34,9 +34,9 @@ public class PacketsHandler {
packetHandlers.add(new PacketHandlerEntityStatus()); packetHandlers.add(new PacketHandlerEntityStatus());
packetHandlers.add(new PacketHandlerEquipment(this)); packetHandlers.add(new PacketHandlerEquipment(this));
if (!NmsVersion.v1_14.isSupported()) { //if (!NmsVersion.v1_14.isSupported()) {
packetHandlers.add(new PacketHandlerHeadRotation()); packetHandlers.add(new PacketHandlerHeadRotation());
} // }
packetHandlers.add(new PacketHandlerMetadata(this)); packetHandlers.add(new PacketHandlerMetadata(this));
packetHandlers.add(new PacketHandlerMovement()); packetHandlers.add(new PacketHandlerMovement());