Fix some undeclared global variables
This commit is contained in:
parent
6fb072e5ff
commit
128f0adb24
5 changed files with 19 additions and 20 deletions
|
@ -309,7 +309,7 @@ minetest.register_abm({
|
|||
end
|
||||
if not do_preserve then
|
||||
-- Drop stuff other than the node itself
|
||||
itemstacks = minetest.get_node_drops(n0.name)
|
||||
local itemstacks = minetest.get_node_drops(n0.name)
|
||||
for _, itemname in ipairs(itemstacks) do
|
||||
if minetest.get_item_group(n0.name, "leafdecay_drop") ~= 0 or
|
||||
itemname ~= n0.name then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue