mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 12:15:11 +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
@@ -83,6 +83,7 @@ public class DialogCategoryCommand extends CommandKamkeelBase {
|
||||
}
|
||||
|
||||
playerdata.save();
|
||||
playerdata.updateClient = true;
|
||||
sendResult(sender, String.format("Read Dialog Cat \u00A7c'%s' \u00A7e%d\u00A77 for Player '\u00A7b%s\u00A77'", dialogCategory.getName(), dialogCatId, playerdata.playername));
|
||||
sendResult(sender, String.format("Read a total of \u00A7b%d \u00A77dialogs", count));
|
||||
}
|
||||
@@ -124,6 +125,7 @@ public class DialogCategoryCommand extends CommandKamkeelBase {
|
||||
}
|
||||
|
||||
playerdata.save();
|
||||
playerdata.updateClient = true;
|
||||
sendResult(sender, String.format("Unread Dialog Cat \u00A7c'%s' \u00A7e%d\u00A77 for Player '\u00A7b%s\u00A77'", dialogCategory.getName(), dialogCatId, playerdata.playername));
|
||||
sendResult(sender, String.format("Unread a total of \u00A7b%d \u00A77dialogs", count));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user