From 262e1c3b6defe423a3d32f853bf0eec171cd939d Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 17 May 2020 09:24:18 +1200 Subject: [PATCH] Whoops, I already handle that --- .../packets/packethandlers/PacketHandlerSpawn.java | 10 +++------- 1 file changed, 3 insertions(+), 7 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 c75b9410..19d40118 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 @@ -260,13 +260,9 @@ public class PacketHandlerSpawn implements IPacketHandler { mods.write(3, loc.getX()); mods.write(4, loc.getY()); mods.write(5, loc.getZ()); - - if (disguise.getType() != DisguiseType.SQUID || disguisedEntity.getType() == EntityType.SQUID) { - mods.write(6, (int) (d2 * 8000.0D)); - mods.write(7, (int) (d3 * 8000.0D)); - mods.write(8, (int) (d4 * 8000.0D)); - } - + mods.write(6, (int) (d2 * 8000.0D)); + mods.write(7, (int) (d3 * 8000.0D)); + mods.write(8, (int) (d4 * 8000.0D)); mods.write(9, yaw); mods.write(10, pitch); mods.write(11, yaw);