Fix node not specified in spawn_visual

This commit is contained in:
LNJ
2017-03-26 22:12:16 +02:00
parent d7d41a8ed9
commit e784ad6a17

View File

@ -256,6 +256,8 @@ core.register_entity("drawers:visual", {
}) })
local function spawn_visual(pos) local function spawn_visual(pos)
local node = core.get_node(pos)
-- data for the new visual -- data for the new visual
drawers.last_drawer_pos = pos drawers.last_drawer_pos = pos