aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinnea Gräf <roman.graef@gmail.com>2023-09-21 16:30:22 +0200
committerGitHub <noreply@github.com>2023-09-22 00:30:22 +1000
commit8d034f002c68e160db86d092c9d8d2bc865da124 (patch)
treeb64d08824175e4f9ca45482494d4da29ed7a931e /src
parentaa6c2ef258e35fbfbade6fb26ac6732eb2856456 (diff)
downloadNotEnoughUpdates-8d034f002c68e160db86d092c9d8d2bc865da124.tar.gz
NotEnoughUpdates-8d034f002c68e160db86d092c9d8d2bc865da124.tar.bz2
NotEnoughUpdates-8d034f002c68e160db86d092c9d8d2bc865da124.zip
Fix repo download failing after sudden destruction of repo folder (#839)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java
index 9d81c6ed..7f9d1089 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java
@@ -217,6 +217,7 @@ public class NEUManager {
}
}
+ repoLocation.mkdirs();
File itemsZip = new File(repoLocation, "neu-items-master.zip");
try {
itemsZip.createNewFile();