From d0f0911f8cb22e976c0be91d36177ae885f2151e Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sat, 26 Oct 2024 17:08:37 +0700 Subject: [PATCH] Change SeenCommand invalid entry message --- .../java/me/chayapak1/chomens_bot/commands/SeenCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/commands/SeenCommand.java b/src/main/java/me/chayapak1/chomens_bot/commands/SeenCommand.java index 3bad074..5ced1f9 100644 --- a/src/main/java/me/chayapak1/chomens_bot/commands/SeenCommand.java +++ b/src/main/java/me/chayapak1/chomens_bot/commands/SeenCommand.java @@ -52,7 +52,7 @@ public class SeenCommand extends Command { final JsonElement time = lastSeen.get("time"); - if (time == null) throw new CommandException(Component.text("time is null.. (possible invalid entry)")); + if (time == null) throw new CommandException(Component.text("This player does not have the `lastSeen.time` entry in the database for some reason.")); final DateTime dateTime = new DateTime(time.getAsLong(), DateTimeZone.UTC);