From 471daf57aed8b775eae571a6b8301bf2e7f70e9a Mon Sep 17 00:00:00 2001 From: BlockMen Date: Tue, 21 May 2013 17:25:53 +0300 Subject: [PATCH] let apples always drop --- mods/default/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/functions.lua b/mods/default/functions.lua index c5245f76..60ec99ca 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -284,7 +284,7 @@ minetest.register_abm({ -- Drop stuff other than the node itself itemstacks = minetest.get_node_drops(n0.name) for _, itemname in ipairs(itemstacks) do - if itemname ~= n0.name then + if itemname == "default:apple" or itemname ~= n0.name then local p_drop = { x = p0.x - 0.5 + math.random(), y = p0.y - 0.5 + math.random(),