From 2c80e4117e41b4dd6e11a618350a490652475f26 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Tue, 8 Nov 2022 20:36:17 +0100 Subject: [PATCH] Lists real file names, in addition to converted file names --- .../net/knarcraft/bookswithoutborders/utility/FileHelper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/net/knarcraft/bookswithoutborders/utility/FileHelper.java b/src/main/java/net/knarcraft/bookswithoutborders/utility/FileHelper.java index 6fe0158..a21b852 100644 --- a/src/main/java/net/knarcraft/bookswithoutborders/utility/FileHelper.java +++ b/src/main/java/net/knarcraft/bookswithoutborders/utility/FileHelper.java @@ -162,9 +162,8 @@ public final class FileHelper { String userName = data[1].substring(0, data[1].length() - 4); data[1] = BookHelper.authorFromUUID(userName) + extension; fileList.add(String.join(separator, data)); - } else { - fileList.add(fileName); } + fileList.add(fileName); } return fileList;