diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-12-11 14:57:42 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-12-11 14:57:42 +0100 |
commit | d073c9edb853ed81049cd392f9573d0d124376e6 (patch) | |
tree | a0b9a2bea01aa27566224392a98679b42fe5eedb | |
parent | ea583b525032a8e0fca8a4766a89cd8bdced606a (diff) | |
download | display_modpack_no_craft-d073c9edb853ed81049cd392f9573d0d124376e6.tar.gz display_modpack_no_craft-d073c9edb853ed81049cd392f9573d0d124376e6.zip |
Added display entity yaw attribute
-rw-r--r-- | display.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/display.lua b/display.lua index a8cee66..3cc52b7 100644 --- a/display.lua +++ b/display.lua @@ -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 |