Change SeenCommand invalid entry message
This commit is contained in:
parent
ef5ec8dc27
commit
d0f0911f8c
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class SeenCommand extends Command {
|
||||||
|
|
||||||
final JsonElement time = lastSeen.get("time");
|
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);
|
final DateTime dateTime = new DateTime(time.getAsLong(), DateTimeZone.UTC);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue