forked from mtcontrib/display_modpack
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,
|
z = v.rotation.z*math.pi/2,
|
||||||
})
|
})
|
||||||
else -- For minetest < 5.0 -- TODO: To be removed in the future
|
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
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user