1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 17:50:37 +01:00

Fixed global var error

This commit is contained in:
crabman77 2015-02-27 21:51:12 +01:00
parent 4ede79aae6
commit 3d156a8ede

View File

@ -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