The second value in Rotation is pitch not roll (#5573)
Signed-off-by: Mike Jagdis <mjagdis@eris-associates.co.uk>
This commit is contained in:
parent
b7de59de89
commit
5f4d2f004b
@ -3648,7 +3648,7 @@ bool cWSSAnvil::LoadEntityBaseFromNBT(cEntity & a_Entity, const cParsedNBT & a_N
|
||||
Rotation[1] = 0;
|
||||
}
|
||||
a_Entity.SetYaw(Rotation[0]);
|
||||
a_Entity.SetRoll(Rotation[1]);
|
||||
a_Entity.SetPitch(Rotation[1]);
|
||||
|
||||
// Depending on the Minecraft version, the entity's health is
|
||||
// stored either as a float Health tag (HealF prior to 1.9) or
|
||||
|
Loading…
x
Reference in New Issue
Block a user