summaryrefslogtreecommitdiff
path: root/digilines_inventory/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'digilines_inventory/init.lua')
-rw-r--r--digilines_inventory/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/digilines_inventory/init.lua b/digilines_inventory/init.lua
index 89aaabc..f0a2053 100644
--- a/digilines_inventory/init.lua
+++ b/digilines_inventory/init.lua
@@ -127,6 +127,7 @@ minetest.register_node("digilines_inventory:chest", {
minetest.log("action", player:get_player_name().." puts stuff into chest at "..minetest.pos_to_string(pos))
end,
on_metadata_inventory_take = function(pos, listname, index, stack, player)
+ local channel = minetest.get_meta(pos):get_string("channel")
local inv = minetest.get_meta(pos):get_inventory()
if inv:is_empty(listname) then
sendMessage(pos, "empty", channel)