forked from ChomeNS/chomens-bot-java
lazy lazy ;azy fix
This commit is contained in:
parent
29e5154d3d
commit
5ed45a658f
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ public class SeenCommand extends Command {
|
|||
|
||||
final JsonObject lastSeen = playerElement.getAsJsonObject().get("lastSeen").getAsJsonObject();
|
||||
|
||||
if (lastSeen == null) return null;
|
||||
|
||||
final DateTime dateTime = new DateTime(lastSeen.get("time").getAsLong(), DateTimeZone.UTC);
|
||||
|
||||
final DateTimeFormatter formatter = DateTimeFormat.forPattern("EEEE, MMMM d, YYYY, hh:mm:ss a z");
|
||||
|
|
Loading…
Reference in a new issue