diff options
author | Pierre-Yves Rollo <pyrollo@localhost.localdomain> | 2018-12-01 20:44:10 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <pyrollo@localhost.localdomain> | 2018-12-01 20:44:10 +0100 |
commit | bcc181cb154b614007e595b1b991ab218534cdce (patch) | |
tree | efa07edda6e936adc811afe8adc2915c2396eac2 | |
parent | 03983f081ed98ba6793e4f2c9ab461f89938c3b5 (diff) | |
download | display_modpack-bcc181cb154b614007e595b1b991ab218534cdce.tar.gz display_modpack-bcc181cb154b614007e595b1b991ab218534cdce.tar.bz2 display_modpack-bcc181cb154b614007e595b1b991ab218534cdce.zip |
Replaced core reference by usual minetest reference
-rw-r--r-- | display_api/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/display_api/init.lua b/display_api/init.lua index c9d8c19..4c0be22 100644 --- a/display_api/init.lua +++ b/display_api/init.lua @@ -146,7 +146,7 @@ end function display_api.on_activate(entity, staticdata) if entity then if string.sub(staticdata, 1, string.len("return")) == "return" then - local data = core.deserialize(staticdata) + local data = minetest.deserialize(staticdata) if data and type(data) == "table" then entity.nodepos = data.nodepos end |