From 30754429a9672b31b264f3ef841ba86f00d03b93 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 16 Nov 2013 12:12:29 +1300 Subject: [PATCH] Print off when it receives packet 32 - Example for ProtocolLib --- src/me/libraryaddict/disguise/PacketsManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/me/libraryaddict/disguise/PacketsManager.java b/src/me/libraryaddict/disguise/PacketsManager.java index a760a302..98131558 100644 --- a/src/me/libraryaddict/disguise/PacketsManager.java +++ b/src/me/libraryaddict/disguise/PacketsManager.java @@ -94,6 +94,8 @@ public class PacketsManager { Packets.Server.ENTITY_EQUIPMENT, Packets.Server.BED) { @Override public void onPacketSending(PacketEvent event) { + if (event.getPacketID() == Packets.Server.ENTITY_LOOK) + System.out.print("Packet 32 received master"); final Player observer = event.getPlayer(); // First get the entity, the one sending this packet StructureModifier entityModifer = event.getPacket().getEntityModifier(observer.getWorld());