mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
fix wrong angles when spawning
This commit is contained in:
parent
b428a54b9a
commit
cb2f9d069f
@ -146,8 +146,8 @@ namespace MCGalaxy {
|
||||
|
||||
if (dst.hasChangeModel) dst.Send(Packet.ChangeModel(id, model, dst.hasCP437));
|
||||
if (dst.HasCpeExt(CpeExt.EntityProperty)) {
|
||||
dst.Send(Packet.EntityProperty(id, EntityProp.RotX, rot.RotX));
|
||||
dst.Send(Packet.EntityProperty(id, EntityProp.RotZ, rot.RotZ));
|
||||
dst.Send(Packet.EntityProperty(id, EntityProp.RotX, Orientation.PackedToDegrees(rot.RotX));
|
||||
dst.Send(Packet.EntityProperty(id, EntityProp.RotZ, Orientation.PackedToDegrees(rot.RotZ));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user