From 476c756ad111057463140e009bcc7ca4fd46bc35 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 2 Sep 2014 21:50:08 +1200 Subject: [PATCH] Use getIntegers instead of getModifiers --- src/me/libraryaddict/disguise/utilities/PacketsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/PacketsManager.java b/src/me/libraryaddict/disguise/utilities/PacketsManager.java index 8002e6dd..f0a6a3d5 100644 --- a/src/me/libraryaddict/disguise/utilities/PacketsManager.java +++ b/src/me/libraryaddict/disguise/utilities/PacketsManager.java @@ -750,7 +750,7 @@ public class PacketsManager { if (packet.equals(event.getPacket())) { packet = packet.deepClone(); } - packet.getModifier().write(0, DisguiseAPI.getSelfDisguiseId()); + packet.getIntegers().write(0, DisguiseAPI.getSelfDisguiseId()); try { ProtocolLibrary.getProtocolManager().sendServerPacket(observer, packet, false); } catch (InvocationTargetException e) {