mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-17 15:58:26 +01:00
Fixed global var error
This commit is contained in:
parent
4ede79aae6
commit
3d156a8ede
@ -94,7 +94,7 @@ vines.register_vine = function( name, defs, biome )
|
||||
plantslib:spawn_on_surfaces( biome )
|
||||
|
||||
local override_nodes = function( nodes, defs )
|
||||
function override( index, registered )
|
||||
local function override( index, registered )
|
||||
local node = nodes[ index ]
|
||||
if index > #nodes then return registered end
|
||||
if minetest.registered_nodes[node] then
|
||||
|
Loading…
Reference in New Issue
Block a user