From 286a1bde8949b9708a65847f92f540e3d2043f03 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 22 Sep 2014 05:02:07 +1200 Subject: [PATCH] Fixed rotation packet. Don't care to check we actually need it --- src/me/libraryaddict/disguise/utilities/PacketsManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/PacketsManager.java b/src/me/libraryaddict/disguise/utilities/PacketsManager.java index 78f67a4f..49f7354b 100644 --- a/src/me/libraryaddict/disguise/utilities/PacketsManager.java +++ b/src/me/libraryaddict/disguise/utilities/PacketsManager.java @@ -1453,8 +1453,8 @@ public class PacketsManager { mods.write(1, yaw); PacketContainer look = new PacketContainer(PacketType.Play.Server.ENTITY_LOOK); look.getIntegers().write(0, entity.getEntityId()); - look.getBytes().write(0, yaw); - look.getBytes().write(1, pitch); + look.getBytes().write(3, yaw); + look.getBytes().write(4, pitch); packets = new PacketContainer[] { look, rotation }; } }