Use getIntegers instead of getModifiers
This commit is contained in:
parent
56b5933837
commit
476c756ad1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user