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

This commit is contained in:
its_meow 2019-03-13 15:53:48 -04:00 committed by LexManos
parent 554952e02a
commit ff6fa31b1d

View file

@ -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);