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;