Fix entity spawn packet pitch (reversed yaw/pitch) (#5603)
This commit is contained in:
parent
554952e02a
commit
ff6fa31b1d
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ public class FMLPlayMessages
|
|||
}
|
||||
|
||||
EntityTracker.updateServerPosition(e, msg.posX, msg.posY, msg.posZ);
|
||||
e.setPositionAndRotation(msg.posX, msg.posY, msg.posZ, (msg.pitch * 360) / 256.0F, (msg.yaw * 360) / 256.0F);
|
||||
e.setPositionAndRotation(msg.posX, msg.posY, msg.posZ, (msg.yaw * 360) / 256.0F, (msg.pitch * 360) / 256.0F);
|
||||
e.setRotationYawHead((msg.headYaw * 360) / 256.0F);
|
||||
e.setRenderYawOffset((msg.headYaw * 360) / 256.0F);
|
||||
|
||||
|
|
Loading…
Reference in a new issue