From 8139267af80063dce0546f5857e8fe6c54895666 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 31 Jan 2014 23:00:24 +1300 Subject: [PATCH] Small change to a order --- .../disguise/utilities/DisguiseUtilities.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 94a292fa..220dbfc1 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -432,13 +432,13 @@ public class DisguiseUtilities { .getNmsEntity(player)); ProtocolManager manager = ProtocolLibrary.getProtocolManager(); // Send the player a packet with himself being spawned - sendSelfPacket(player, manager.createPacketConstructor(PacketType.Play.Server.NAMED_ENTITY_SPAWN, player) - .createPacket(player), fakeId); - manager.sendServerPacket( + manager.sendServerPacket(player, manager.createPacketConstructor(PacketType.Play.Server.NAMED_ENTITY_SPAWN, player) + .createPacket(player)); + sendSelfPacket( player, manager.createPacketConstructor(PacketType.Play.Server.ENTITY_METADATA, player.getEntityId(), WrappedDataWatcher.getEntityWatcher(player), true).createPacket(player.getEntityId(), - WrappedDataWatcher.getEntityWatcher(player), true)); + WrappedDataWatcher.getEntityWatcher(player), true), fakeId); boolean isMoving = false; try {