fixed item_drop not giving items when disabled

master
Mitori Itoshiki 2013-04-20 22:54:35 +04:00
parent 8ff8e7186b
commit 62d8fce8c8
1 changed files with 3 additions and 3 deletions

View File

@ -60,8 +60,8 @@ end)
local drop_it = minetest.setting_getbool("items_on_ground")
function minetest.handle_node_drops(pos, drops, digger)
if drop_it == true then
function minetest.handle_node_drops(pos, drops, digger)
for _,item in ipairs(drops) do
local count, name
if type(item) == "string" then
@ -93,6 +93,6 @@ if drop_it == true then
end
end
end
end
end
end
end--]]
end