mirror of
https://github.com/pyrollo/display_modpack.git
synced 2024-11-13 22:00:31 +01:00
Fixed crash on MT0.4
This commit is contained in:
parent
1c15814156
commit
882af249e0
|
@ -169,7 +169,7 @@ local function place_entities(pos)
|
|||
z = v.rotation.z*math.pi/2,
|
||||
})
|
||||
else -- For minetest < 5.0 -- TODO: To be removed in the future
|
||||
objrefs[entity_name]:set_yaw(values.rotation.y + (props.yaw or 0))
|
||||
objrefs[entity_name]:set_yaw(v.rotation.y*math.pi/2 + (props.yaw or 0))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user