From d6b1b19c8e3615a2b7d01bfdb18f97cb4489442e Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 3 Nov 2019 17:50:19 +1300 Subject: [PATCH] Raise ticks for player disguises to render properly --- .../utilities/packets/packethandlers/PacketHandlerSpawn.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerSpawn.java b/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerSpawn.java index bed8ae01..f220d60d 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerSpawn.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/packets/packethandlers/PacketHandlerSpawn.java @@ -244,7 +244,7 @@ public class PacketHandlerSpawn implements IPacketHandler { // Add a delay to remove the entry from 'cancelMeta' - packets.addDelayedPacket(metaPacket, 4); + packets.addDelayedPacket(metaPacket, 7); } // Remove player from the list @@ -405,7 +405,7 @@ public class PacketHandlerSpawn implements IPacketHandler { mods.write(2, ReflectionManager.getNmsItem(itemstack)); if (requiresArmor) { - packets.addDelayedPacket(packet, 3); + packets.addDelayedPacket(packet, 7); } else { packets.addDelayedPacket(packet); }