Remove debug chat message
parent
34214b69f9
commit
eaec4f8094
|
@ -5,9 +5,8 @@ local function can_pickup(inv, item)
|
||||||
item = item:match("((.-:.+))[$s_]")
|
item = item:match("((.-:.+))[$s_]")
|
||||||
|
|
||||||
for i in pairs(main.current_mode.mode.drops) do
|
for i in pairs(main.current_mode.mode.drops) do
|
||||||
if item == i:match("((.-:.+))[$s_]") and not inv:contains_item("main", item) and not
|
if item == i:match("((.-:.+))[$s_]") and not inv:contains_item("main", item) and not
|
||||||
inv:contains_item("main", item2) then
|
inv:contains_item("main", item2) then
|
||||||
minetest.chat_send_all(dump(item .. " - " .. i:match("((.-:.+))[$s_]")))
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue