diff options
author | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2024-05-10 13:25:49 -0400 |
---|---|---|
committer | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2024-05-10 13:25:49 -0400 |
commit | ccc8d163725c27c0d2e69e667c3f1ce29c1c425d (patch) | |
tree | f26bba59615213707d7dd7ea578b70d2c9f1b404 /src | |
parent | 85ff6291af4502daad54b3dcf71e42c7f7f0c873 (diff) | |
download | Skyblocker-ccc8d163725c27c0d2e69e667c3f1ce29c1c425d.tar.gz Skyblocker-ccc8d163725c27c0d2e69e667c3f1ce29c1c425d.tar.bz2 Skyblocker-ccc8d163725c27c0d2e69e667c3f1ce29c1c425d.zip |
Add exception message
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/de/hysky/skyblocker/config/ConfigDatafixer.java | 2 |
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)); |