Use getIntegers instead of getModifiers

This commit is contained in:
libraryaddict 2014-09-02 21:50:08 +12:00
parent 56b5933837
commit 476c756ad1

View File

@ -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) {