From 7ef248c0547d88c838ad9016ce356800ebc55dc8 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 2 Jul 2020 08:25:07 +1200 Subject: [PATCH] Fix equipment packet --- .../packets/packethandlers/PacketHandlerEquipment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerEquipment.java b/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerEquipment.java index 37c7c512..1e1cda74 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerEquipment.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerEquipment.java @@ -73,7 +73,7 @@ public class PacketHandlerEquipment implements IPacketHandler { PacketContainer equipPacket = sentPacket.shallowClone(); - packets.getPackets().add(1, equipPacket); + packets.getPackets().add(packets.getPackets().size(), equipPacket); equipPacket.getModifier().write(1, newSlots); }