mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix entity spawn packet pitch (reversed yaw/pitch) (#5603)
This commit is contained in:
1 parent
554952e02a
commit
ff6fa31b1d
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user