mirror of
https://github.com/mt-mods/moretrees.git
synced 2025-07-01 23:50:41 +02: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:
3
init.lua
3
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
|
|
||||||
|
|
||||||
|
else
|
||||||
dofile(worldpath.."/moretrees_settings.txt")
|
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")
|
||||||
|
Reference in New Issue
Block a user