diff options
author | nea <romangraef@gmail.com> | 2022-04-28 20:18:45 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-04-28 20:18:45 +0200 |
commit | 9633581638016b18e9b9a4384a4b70e1cc1a062c (patch) | |
tree | fc49554f281662bc5fce20d149048ca8c459a92a | |
parent | df9c842f6cd6281b413fe0eb1585b364ff27b6e7 (diff) | |
download | NotEnoughUpdates-9633581638016b18e9b9a4384a4b70e1cc1a062c.tar.gz NotEnoughUpdates-9633581638016b18e9b9a4384a4b70e1cc1a062c.tar.bz2 NotEnoughUpdates-9633581638016b18e9b9a4384a4b70e1cc1a062c.zip |
on second thought, this entire thing was a bit untested
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java index daf67585..c283464e 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java @@ -284,10 +284,13 @@ public class NEUManager { * downloading of new/updated files. This then calls the "loadItem" method for every item in the local repository. */ public void loadItemInformation() { - if (NotEnoughUpdates.INSTANCE.config.hidden.autoupdate) + if (NotEnoughUpdates.INSTANCE.config.hidden.autoupdate) { fetchRepository().thenAccept(i -> { reloadRepository(); }); + } else { + reloadRepository(); + } } /** |