fix another orientation bug
This commit is contained in:
parent
2fc09d09a0
commit
dab15b5bd0
@ -468,7 +468,7 @@ function mob_inventory.trader_callback(entity,player)
|
||||
|
||||
if entity.mode == "3d" then
|
||||
entity.object:setyaw(
|
||||
mobf_calc_yaw(direction.x,direction.z)-math.pi/2)
|
||||
mobf_calc_yaw(direction.x,direction.z))
|
||||
else
|
||||
entity.object:setyaw(
|
||||
mobf_calc_yaw(direction.x,direction.z)+math.pi/2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user