Whoops, I already handle that
This commit is contained in:
parent
9792b6ba0e
commit
262e1c3b6d
@ -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 New Issue
Block a user