mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-08 16:03:43 +01:00
Fix node not specified in spawn_visual
This commit is contained in:
parent
d7d41a8ed9
commit
e784ad6a17
2
init.lua
2
init.lua
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user