mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 12:00:59 +00:00
Whoops, I already handle that
This commit is contained in:
parent
9792b6ba0e
commit
262e1c3b6d
1 changed files with 3 additions and 7 deletions
|
@ -260,13 +260,9 @@ public class PacketHandlerSpawn implements IPacketHandler {
|
||||||
mods.write(3, loc.getX());
|
mods.write(3, loc.getX());
|
||||||
mods.write(4, loc.getY());
|
mods.write(4, loc.getY());
|
||||||
mods.write(5, loc.getZ());
|
mods.write(5, loc.getZ());
|
||||||
|
mods.write(6, (int) (d2 * 8000.0D));
|
||||||
if (disguise.getType() != DisguiseType.SQUID || disguisedEntity.getType() == EntityType.SQUID) {
|
mods.write(7, (int) (d3 * 8000.0D));
|
||||||
mods.write(6, (int) (d2 * 8000.0D));
|
mods.write(8, (int) (d4 * 8000.0D));
|
||||||
mods.write(7, (int) (d3 * 8000.0D));
|
|
||||||
mods.write(8, (int) (d4 * 8000.0D));
|
|
||||||
}
|
|
||||||
|
|
||||||
mods.write(9, yaw);
|
mods.write(9, yaw);
|
||||||
mods.write(10, pitch);
|
mods.write(10, pitch);
|
||||||
mods.write(11, yaw);
|
mods.write(11, yaw);
|
||||||
|
|
Loading…
Reference in a new issue