forked from mtcontrib/display_modpack
Added display entity yaw attribute
This commit is contained in:
parent
ea583b5250
commit
d073c9edb8
@ -106,13 +106,12 @@ local function place_entities(pos)
|
|||||||
y = pos.y - top,
|
y = pos.y - top,
|
||||||
z = pos.z - values.dz * depth + values.rz * right})
|
z = pos.z - values.dz * depth + values.rz * right})
|
||||||
|
|
||||||
objrefs[entity_name]:setyaw(values.yaw)
|
objrefs[entity_name]:setyaw(values.yaw + (props.yaw or 0))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return objrefs
|
return objrefs
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
--- Entity update
|
--- Entity update
|
||||||
function update_entity(entity)
|
function update_entity(entity)
|
||||||
if not entity then
|
if not entity then
|
||||||
|
Loading…
Reference in New Issue
Block a user