Remove debug chat message

master
LoneWolfHT 2019-06-04 21:40:16 -07:00
parent 34214b69f9
commit eaec4f8094
1 changed files with 1 additions and 2 deletions

View File

@ -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