mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-10 18:38:08 +01:00
setHeadYaw mappings fix
This commit is contained in:
parent
630484273a
commit
ffa3c8f0ab
@ -1164,9 +1164,9 @@ public class NMSImpl implements NMSBridge {
|
||||
return;
|
||||
LivingEntity handle = (LivingEntity) getHandle(entity);
|
||||
yaw = Util.clampYaw(yaw);
|
||||
handle.yBodyRot = yaw;
|
||||
handle.yBodyRotO = yaw;
|
||||
if (!(handle instanceof ServerPlayer)) {
|
||||
handle.yHeadRot = yaw; // TODO: why this
|
||||
handle.setYBodyRot(yaw);
|
||||
}
|
||||
handle.setYHeadRot(yaw);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user