From e784ad6a17b376baa2f26dc7eb542cfcfbc7b673 Mon Sep 17 00:00:00 2001 From: LNJ Date: Sun, 26 Mar 2017 22:12:16 +0200 Subject: [PATCH] Fix node not specified in spawn_visual --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 3762b03..0edad10 100644 --- a/init.lua +++ b/init.lua @@ -256,6 +256,8 @@ core.register_entity("drawers:visual", { }) local function spawn_visual(pos) + local node = core.get_node(pos) + -- data for the new visual drawers.last_drawer_pos = pos