aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAaron <51387595+AzureAaron@users.noreply.github.com>2024-05-10 13:25:49 -0400
committerAaron <51387595+AzureAaron@users.noreply.github.com>2024-05-10 13:25:49 -0400
commitccc8d163725c27c0d2e69e667c3f1ce29c1c425d (patch)
treef26bba59615213707d7dd7ea578b70d2c9f1b404 /src/main/java
parent85ff6291af4502daad54b3dcf71e42c7f7f0c873 (diff)
downloadSkyblocker-ccc8d163725c27c0d2e69e667c3f1ce29c1c425d.tar.gz
Skyblocker-ccc8d163725c27c0d2e69e667c3f1ce29c1c425d.tar.bz2
Skyblocker-ccc8d163725c27c0d2e69e667c3f1ce29c1c425d.zip
Add exception message
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/hysky/skyblocker/config/ConfigDatafixer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/config/ConfigDatafixer.java b/src/main/java/de/hysky/skyblocker/config/ConfigDatafixer.java
index ded964c6..90f349fc 100644
--- a/src/main/java/de/hysky/skyblocker/config/ConfigDatafixer.java
+++ b/src/main/java/de/hysky/skyblocker/config/ConfigDatafixer.java
@@ -63,7 +63,7 @@ public class ConfigDatafixer {
//Write the updated file
boolean success = writeConfig(CONFIG_DIR.resolve("skyblocker.json"), newConfig);
- if (!success) throw new IllegalStateException();
+ if (!success) throw new IllegalStateException("Failed to write the new config to the file!");
long end = System.currentTimeMillis();
LOGGER.info("[Skyblocker Config Data Fixer] Applied {} datafixers in {} ms!", fixers.length, (end - start));