mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 07:35:11 +00:00
Properly save PlayerData on json only on 'PlayerEvent.SaveToFile'
This commit is contained in:
1 parent
2c82714f9a
commit
79e20b07db
10 files changed
+57
-35
No files matched your search
@@ -101,7 +101,7 @@ public class CmdNoppes extends ChMcLogger {
|
||||
cmdfaction.processCommand(this.pcParam, args);
|
||||
|
||||
for(PlayerData playerdata : cmdfaction.data){
|
||||
playerdata.saveNBTData(null);
|
||||
playerdata.savePlayerDataOnFile();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user