mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-08 09:42:56 +01:00
Fix head issues
This commit is contained in:
parent
b13c6bd29c
commit
5632fb7ef3
@ -442,6 +442,7 @@ public class PacketsManager {
|
|||||||
mods.write(8, (int) (d4 * 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);
|
||||||
|
|
||||||
spawnEntity.getDataWatcherModifier().write(0,
|
spawnEntity.getDataWatcherModifier().write(0,
|
||||||
createDataWatcher(WrappedDataWatcher.getEntityWatcher(disguisedEntity), disguise.getWatcher()));
|
createDataWatcher(WrappedDataWatcher.getEntityWatcher(disguisedEntity), disguise.getWatcher()));
|
||||||
@ -477,7 +478,7 @@ public class PacketsManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (packets.getPackets().size() <= 1 || disguise.isPlayerDisguise() || disguise.isMobDisguise()) {
|
if (packets.getPackets().size() <= 1 || disguise.isPlayerDisguise()) {
|
||||||
PacketContainer rotateHead = new PacketContainer(Server.ENTITY_HEAD_ROTATION);
|
PacketContainer rotateHead = new PacketContainer(Server.ENTITY_HEAD_ROTATION);
|
||||||
packets.addPacket(rotateHead);
|
packets.addPacket(rotateHead);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user