diff --git a/mods/pclasses/init.lua b/mods/pclasses/init.lua index 40c09ffe..3af28745 100755 --- a/mods/pclasses/init.lua +++ b/mods/pclasses/init.lua @@ -42,7 +42,7 @@ if pfile then if line then pclasses.datas.players = minetest.deserialize(line) end - pfile.close() + pfile:close() end -- Frequent backup