diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/command/ListCommand.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/command/ListCommand.java index 27e94ede0..19a8774d7 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/command/ListCommand.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/command/ListCommand.java @@ -33,7 +33,7 @@ private ListCommand() {} private static int printBackpackList(List allLogs, CommandSourceStack source) { SimpleDateFormat dateFormat = new SimpleDateFormat(); - allLogs.sort(Comparator.comparing(AccessLogRecord::getAccessTime).reversed()); + allLogs.sort(Comparator.comparing(AccessLogRecord::getAccessTime)); source.sendSuccess(new TranslatableComponent("commands.sophisticatedbackpacks.list.header"), false); allLogs.forEach(alr -> { MutableComponent message = new TextComponent(""); @@ -55,6 +55,8 @@ private static int printBackpackList(List allLogs, CommandSourc message.append(new TextComponent(alr.getPlayerName())); message.append(new TextComponent(", ")); message.append(new TextComponent(dateFormat.format(new Date(alr.getAccessTime())))); + message.append(new TextComponent(", ")); + message.append(alr.getBackpackUuid().toString()); source.sendSuccess(message, false); }); return 0;