Small change to a order
This commit is contained in:
parent
a3297c918b
commit
8139267af8
@ -432,13 +432,13 @@ public class DisguiseUtilities {
|
|||||||
.getNmsEntity(player));
|
.getNmsEntity(player));
|
||||||
ProtocolManager manager = ProtocolLibrary.getProtocolManager();
|
ProtocolManager manager = ProtocolLibrary.getProtocolManager();
|
||||||
// Send the player a packet with himself being spawned
|
// Send the player a packet with himself being spawned
|
||||||
sendSelfPacket(player, manager.createPacketConstructor(PacketType.Play.Server.NAMED_ENTITY_SPAWN, player)
|
manager.sendServerPacket(player, manager.createPacketConstructor(PacketType.Play.Server.NAMED_ENTITY_SPAWN, player)
|
||||||
.createPacket(player), fakeId);
|
.createPacket(player));
|
||||||
manager.sendServerPacket(
|
sendSelfPacket(
|
||||||
player,
|
player,
|
||||||
manager.createPacketConstructor(PacketType.Play.Server.ENTITY_METADATA, player.getEntityId(),
|
manager.createPacketConstructor(PacketType.Play.Server.ENTITY_METADATA, player.getEntityId(),
|
||||||
WrappedDataWatcher.getEntityWatcher(player), true).createPacket(player.getEntityId(),
|
WrappedDataWatcher.getEntityWatcher(player), true).createPacket(player.getEntityId(),
|
||||||
WrappedDataWatcher.getEntityWatcher(player), true));
|
WrappedDataWatcher.getEntityWatcher(player), true), fakeId);
|
||||||
|
|
||||||
boolean isMoving = false;
|
boolean isMoving = false;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user