mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-11-08 19:30:32 +01:00
local-ize a couple of variables
This commit is contained in:
parent
0e53046bf2
commit
e7d6a2e993
|
@ -269,7 +269,7 @@ local extra_aliases = {
|
|||
}
|
||||
|
||||
for i in ipairs(extra_aliases) do
|
||||
flower = extra_aliases[i]
|
||||
local flower = extra_aliases[i]
|
||||
minetest.register_alias("flowers:flower_"..flower, "flowers:"..flower)
|
||||
end
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ local function dump_pos(pos)
|
|||
end
|
||||
|
||||
function plantslib:is_node_loaded(node_pos)
|
||||
n = minetest.get_node_or_nil(node_pos)
|
||||
local n = minetest.get_node_or_nil(node_pos)
|
||||
if (not n) or (n.name == "ignore") then
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user