forked from mtcontrib/plantlife_modpack
get rid of the old clone_node function. nothing uses or needs it now.
use minetest.override_item() instead
This commit is contained in:
parent
829c69c351
commit
da211cc07d
|
@ -69,15 +69,6 @@ function plantslib:is_node_loaded(node_pos)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
function plantslib:clone_node(name)
|
|
||||||
node2={}
|
|
||||||
node=minetest.registered_nodes[name]
|
|
||||||
for k,v in pairs(node) do
|
|
||||||
node2[k]=v
|
|
||||||
end
|
|
||||||
return node2
|
|
||||||
end
|
|
||||||
|
|
||||||
function plantslib:set_defaults(biome)
|
function plantslib:set_defaults(biome)
|
||||||
biome.seed_diff = biome.seed_diff or 0
|
biome.seed_diff = biome.seed_diff or 0
|
||||||
biome.min_elevation = biome.min_elevation or -31000
|
biome.min_elevation = biome.min_elevation or -31000
|
||||||
|
|
Loading…
Reference in New Issue
Block a user