From fbb4c621b106d95205540c8ed79d9767102382b4 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Mon, 27 Jul 2015 23:43:31 +0200 Subject: [PATCH] fix error pclasses --- mods/pclasses/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/pclasses/init.lua b/mods/pclasses/init.lua index 3af28745..1a110620 100755 --- a/mods/pclasses/init.lua +++ b/mods/pclasses/init.lua @@ -49,7 +49,7 @@ end local function save_datas() local pfile = io.open(pclasses.conf.datafile, "w") pfile:write(minetest.serialize(pclasses.datas.players)) - pfile.close() + pfile:close() minetest.log("action", "[PClasses] Datas saved") end