mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +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 )
|
plantslib:spawn_on_surfaces( biome )
|
||||||
|
|
||||||
local override_nodes = function( nodes, defs )
|
local override_nodes = function( nodes, defs )
|
||||||
function override( index, registered )
|
local function override( index, registered )
|
||||||
local node = nodes[ index ]
|
local node = nodes[ index ]
|
||||||
if index > #nodes then return registered end
|
if index > #nodes then return registered end
|
||||||
if minetest.registered_nodes[node] then
|
if minetest.registered_nodes[node] then
|
||||||
|
Loading…
Reference in New Issue
Block a user