mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 18:20:36 +01:00
fix error pclasses
This commit is contained in:
parent
7536cc3076
commit
fbb4c621b1
@ -49,7 +49,7 @@ end
|
|||||||
local function save_datas()
|
local function save_datas()
|
||||||
local pfile = io.open(pclasses.conf.datafile, "w")
|
local pfile = io.open(pclasses.conf.datafile, "w")
|
||||||
pfile:write(minetest.serialize(pclasses.datas.players))
|
pfile:write(minetest.serialize(pclasses.datas.players))
|
||||||
pfile.close()
|
pfile:close()
|
||||||
minetest.log("action", "[PClasses] Datas saved")
|
minetest.log("action", "[PClasses] Datas saved")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user