Use getIntegers instead of getModifiers
This commit is contained in:
		| @@ -750,7 +750,7 @@ public class PacketsManager { | |||||||
|                             if (packet.equals(event.getPacket())) { |                             if (packet.equals(event.getPacket())) { | ||||||
|                                 packet = packet.deepClone(); |                                 packet = packet.deepClone(); | ||||||
|                             } |                             } | ||||||
|                             packet.getModifier().write(0, DisguiseAPI.getSelfDisguiseId()); |                             packet.getIntegers().write(0, DisguiseAPI.getSelfDisguiseId()); | ||||||
|                             try { |                             try { | ||||||
|                                 ProtocolLibrary.getProtocolManager().sendServerPacket(observer, packet, false); |                                 ProtocolLibrary.getProtocolManager().sendServerPacket(observer, packet, false); | ||||||
|                             } catch (InvocationTargetException e) { |                             } catch (InvocationTargetException e) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user