Fix entity spawn packet pitch (reversed yaw/pitch) (#5603)

This commit is contained in:
its_meow authored and LexManos committed 2019-03-13 12:53:48 -07:00
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);