mirror of
https://github.com/pyrollo/display_modpack.git
synced 2024-08-20 04:34:05 +02:00
Added display entity yaw attribute
This commit is contained in:
parent
e75d6bc575
commit
c9329d3789
@ -106,13 +106,12 @@ local function place_entities(pos)
|
||||
y = pos.y - top,
|
||||
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
|
||||
return objrefs
|
||||
end
|
||||
|
||||
|
||||
--- Entity update
|
||||
function update_entity(entity)
|
||||
if not entity then
|
||||
|
Loading…
Reference in New Issue
Block a user