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
commit6c92826e3ccb2bb8850b5dfb587c2108ea50b75b (patch)
tree95c64886639d23123f97064c953799486371d609
parent9ca3474360aaa9caf9de72ef116618704bcaae61 (diff)
downloaddisplay_modpack_no_craft-6c92826e3ccb2bb8850b5dfb587c2108ea50b75b.tar.gz
display_modpack_no_craft-6c92826e3ccb2bb8850b5dfb587c2108ea50b75b.zip
Replaced core reference by usual minetest reference
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index c9d8c19..4c0be22 100644
--- a/init.lua
+++ b/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