Revert "Revert "Revert "Fix omission in previous commit"""
This reverts commit 6787bd7cce5923f7df527b9d99119196f09bccc0.
This commit is contained in:
parent
6787bd7cce
commit
702916430a
@ -26,7 +26,7 @@ if input then
|
||||
io.close(input)
|
||||
else
|
||||
local dir = string.gsub(NPCF_DATADIR, "/", package.config:sub(1,1))
|
||||
os.execute("mkdir "..dir)
|
||||
os.execute("mkdir "..NPCF_DATADIR)
|
||||
local output = io.open(NPCF_DATADIR.."/index.txt", 'w')
|
||||
if output then
|
||||
output:write(minetest.serialize(index))
|
||||
|
Loading…
x
Reference in New Issue
Block a user