aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-08 12:31:07 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-08 12:31:07 +0200
commitabd6c5d7275149a616ef9513e528eea270e526b5 (patch)
treec689897555b82863774340b32f6891d0579fb718 /src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
parent7a17d4a288b572687eccef42286e03c12cdb7a12 (diff)
parent324f31cd1402ad8f7877bb9bba99036e4140bbdb (diff)
downloadskyhanni-abd6c5d7275149a616ef9513e528eea270e526b5.tar.gz
skyhanni-abd6c5d7275149a616ef9513e528eea270e526b5.tar.bz2
skyhanni-abd6c5d7275149a616ef9513e528eea270e526b5.zip
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java b/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
index 5b9bf179c..022317457 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
@@ -14,6 +14,8 @@ import com.google.gson.GsonBuilder;
import com.thatgravyboat.skyblockhud.commands.Commands;
import com.thatgravyboat.skyblockhud.config.SBHConfig;
import com.thatgravyboat.skyblockhud.textures.Textures;
+import java.io.*;
+import java.nio.charset.StandardCharsets;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.resources.IReloadableResourceManager;
@@ -92,8 +94,7 @@ public class SkyblockHud {
try {
//noinspection ResultOfMethodCallIgnored
configDirectory.mkdir();
- } catch (Exception ignored) {
- }
+ } catch (Exception ignored) {}
configFile = new File(configDirectory, "config.json");