forked from mtcontrib/moretrees
forgot to test if the file can be read the second time the mod is run.
Should be fixed now.
This commit is contained in:
parent
8a1ebec951
commit
85e07fb787
5
init.lua
5
init.lua
|
@ -37,9 +37,10 @@ if io.open(worldpath.."/moretrees_settings.txt","r") == nil then
|
|||
if not block then break end
|
||||
io.write(block)
|
||||
end
|
||||
end
|
||||
|
||||
dofile(worldpath.."/moretrees_settings.txt")
|
||||
else
|
||||
dofile(worldpath.."/moretrees_settings.txt")
|
||||
end
|
||||
|
||||
dofile(modpath.."/tree_models.lua")
|
||||
dofile(modpath.."/biome_defs.lua")
|
||||
|
|
Loading…
Reference in New Issue
Block a user