diff --git a/pom.xml b/pom.xml
index 10650dc8..d31f7909 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,12 +83,12 @@
org.spigotmc
spigot-api
- 1.16.1-R0.1-SNAPSHOT
+ 1.16.3-R0.1-SNAPSHOT
org.spigotmc
spigot
- 1.16.1-R0.1-SNAPSHOT
+ 1.16.3-R0.1-SNAPSHOT
diff --git a/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerMovement.java b/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerMovement.java
index 0dbc8e88..c454b7ab 100644
--- a/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerMovement.java
+++ b/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerMovement.java
@@ -54,6 +54,10 @@ public class PacketHandlerMovement implements IPacketHandler {
double height = disguise.getHeight();
for (PacketContainer packet : packets.getPackets()) {
+ if (packet.getType() == PacketType.Play.Server.ENTITY_LOOK) {
+ continue;
+ }
+
for (int i = 0; i < len; i++) {
int standId = disguise.getArmorstandIds()[i];
PacketContainer packet2 = packet.shallowClone();
@@ -193,8 +197,12 @@ public class PacketHandlerMovement implements IPacketHandler {
if (entity == observer.getVehicle() &&
AbstractHorse.class.isAssignableFrom(disguise.getType().getEntityClass())) {
- PacketContainer packet = movePacket.shallowClone();
- packet.getModifier().write(0, DisguiseAPI.getEntityAttachmentId());
+ PacketContainer packet = new PacketContainer(PacketType.Play.Server.ENTITY_LOOK);
+
+ packet.getIntegers().write(0, DisguiseAPI.getEntityAttachmentId());
+ packet.getBytes().write(0, yawValue);
+ packet.getBytes().write(1, pitchValue);
+
packets.addPacket(packet);
} else if (sentPacket.getType() == PacketType.Play.Server.ENTITY_TELEPORT &&
disguise.getType() == DisguiseType.ITEM_FRAME) {
diff --git a/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerViewSelfDisguise.java b/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerViewSelfDisguise.java
index ee39ad73..dd201e12 100644
--- a/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerViewSelfDisguise.java
+++ b/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerViewSelfDisguise.java
@@ -75,7 +75,7 @@ public class PacketListenerViewSelfDisguise extends PacketAdapter {
PacketsManager.getPacketsHandler().transformPacket(packet, disguise, observer, observer);
if (transformed.isUnhandled()) {
- transformed.getPackets().add(packet);
+ transformed.addPacket(packet);
}
for (PacketContainer newPacket : transformed.getPackets()) {