forked from mtcontrib/plantlife_modpack
call minetest.get_modpath only once
This commit is contained in:
parent
95cffaee46
commit
e1a5840129
@ -27,8 +27,9 @@ bushes_classic.bushes_descriptions = {
|
|||||||
|
|
||||||
bushes_classic.spawn_list = {}
|
bushes_classic.spawn_list = {}
|
||||||
|
|
||||||
dofile(minetest.get_modpath('bushes_classic') .. '/cooking.lua')
|
local modpath = minetest.get_modpath('bushes_classic')
|
||||||
dofile(minetest.get_modpath('bushes_classic') .. '/nodes.lua')
|
dofile(modpath..'/cooking.lua')
|
||||||
|
dofile(modpath..'/nodes.lua')
|
||||||
|
|
||||||
biome_lib:spawn_on_surfaces({
|
biome_lib:spawn_on_surfaces({
|
||||||
spawn_delay = 3600,
|
spawn_delay = 3600,
|
||||||
|
Loading…
Reference in New Issue
Block a user