mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 18:44:26 +00:00
More Update Clients for PlayerData Syncing
This commit is contained in:
1 parent
f732665994
commit
90106ec453
8 files changed
+31
-2
No files matched your search
@@ -51,6 +51,7 @@ public class CmdDialog extends ChMcLogger {
|
||||
for(PlayerData playerdata : data){
|
||||
playerdata.dialogData.dialogsRead.add(diagid);
|
||||
playerdata.save();
|
||||
playerdata.updateClient = true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -77,6 +78,7 @@ public class CmdDialog extends ChMcLogger {
|
||||
for(PlayerData playerdata : data){
|
||||
playerdata.dialogData.dialogsRead.remove(diagid);
|
||||
playerdata.save();
|
||||
playerdata.updateClient = true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -85,7 +87,7 @@ public class CmdDialog extends ChMcLogger {
|
||||
permissions={OpOnly.class}
|
||||
)
|
||||
public boolean reload(String args[]){
|
||||
new DialogController().load();;
|
||||
new DialogController().load();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user