More Update Clients for PlayerData Syncing

This commit is contained in:
Kam committed 2024-03-08 00:01:15 -05:00
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));
}