diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/file/export/HtmlExport.java b/Plan/src/main/java/com/djrapitops/plan/utilities/file/export/HtmlExport.java index d9563ec0b..ce90639d1 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/file/export/HtmlExport.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/file/export/HtmlExport.java @@ -187,7 +187,7 @@ public class HtmlExport extends SpecificExport { to.getParentFile().mkdirs(); if (to.exists()) { Files.delete(to.toPath()); - if (to.createNewFile()) { + if (!to.createNewFile()) { return; } }