mirror of
https://github.com/mt-mods/moretrees.git
synced 2024-12-26 02:30:23 +01:00
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
|
if not block then break end
|
||||||
io.write(block)
|
io.write(block)
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
dofile(worldpath.."/moretrees_settings.txt")
|
else
|
||||||
|
dofile(worldpath.."/moretrees_settings.txt")
|
||||||
|
end
|
||||||
|
|
||||||
dofile(modpath.."/tree_models.lua")
|
dofile(modpath.."/tree_models.lua")
|
||||||
dofile(modpath.."/biome_defs.lua")
|
dofile(modpath.."/biome_defs.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user