From df36ba3fdf5d8630b27c60c30a3b453710d1a037 Mon Sep 17 00:00:00 2001 From: Pascal Abresch Date: Fri, 4 Oct 2019 06:34:27 +0200 Subject: [PATCH] minor fix --- sparkapi/lua/dig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparkapi/lua/dig.lua b/sparkapi/lua/dig.lua index 3bd5f1c..d550fe7 100644 --- a/sparkapi/lua/dig.lua +++ b/sparkapi/lua/dig.lua @@ -22,7 +22,7 @@ end function sparktech.drop_inventory(nodepos, quilty) --- --- evacutate the mines, quickly now! - local inventory_lists = minetest.get_node(nodepos):get_inventory():get_lists() + local inventory_lists = minetest.get_meta(nodepos):get_inventory():get_lists() for i, list in pairs(inventory_lists) do for n=1, #list do