Whoops, I already handle that

This commit is contained in:
libraryaddict 2020-05-17 09:24:18 +12:00
parent 9792b6ba0e
commit 262e1c3b6d
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -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);