aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Yves Rollo <pyrollo@localhost.localdomain>2018-12-01 20:44:10 +0100
committerPierre-Yves Rollo <pyrollo@localhost.localdomain>2018-12-01 20:44:10 +0100
commitbcc181cb154b614007e595b1b991ab218534cdce (patch)
treeefa07edda6e936adc811afe8adc2915c2396eac2
parent03983f081ed98ba6793e4f2c9ab461f89938c3b5 (diff)
downloaddisplay_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.lua2
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