use real function calls instead of the old string method where possible

(basically leaving only the old legacy mapgen calls still using the string method)
This commit is contained in:
Vanessa Ezekowitz
2014-08-15 10:09:01 -04:00
parent 7f4fc1d553
commit da732bb18e
14 changed files with 36 additions and 31 deletions

View File

@ -207,7 +207,7 @@ plantslib:register_generate_plant({
min_elevation = 1, -- above sea level
plantlife_limit = -0.9,
},
"abstract_bushes.grow_bush"
abstract_bushes.grow_bush
)
abstract_bushes.grow_youngtree2 = function(pos)
@ -252,7 +252,7 @@ plantslib:register_generate_plant({
min_elevation = 1, -- above sea level
plantlife_limit = -0.9,
},
"abstract_bushes.grow_youngtree2"
abstract_bushes.grow_youngtree2
)
--http://dev.minetest.net/Node_Drawtypes