diff options
author | hannibal00212 <hannibal00212@users.noreply.github.com> | 2022-07-08 14:03:31 +0000 |
---|---|---|
committer | GitHub Action <actions@github.com> | 2022-07-08 14:03:31 +0000 |
commit | 9fa35d8e86c76548f8cbe5d78e2f082104ab93bb (patch) | |
tree | 4f05a355df9c01c672d4ceb443dc706c33b09677 /src/main/java/com/thatgravyboat/skyblockhud/textures/Textures.java | |
parent | 9e08dbf2baa9819abd281ad285df7462c99491e2 (diff) | |
download | skyhanni-9fa35d8e86c76548f8cbe5d78e2f082104ab93bb.tar.gz skyhanni-9fa35d8e86c76548f8cbe5d78e2f082104ab93bb.tar.bz2 skyhanni-9fa35d8e86c76548f8cbe5d78e2f082104ab93bb.zip |
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/textures/Textures.java')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/textures/Textures.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/textures/Textures.java b/src/main/java/com/thatgravyboat/skyblockhud/textures/Textures.java index bddc76339..2a6975b32 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/textures/Textures.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/textures/Textures.java @@ -1,11 +1,11 @@ package com.thatgravyboat.skyblockhud.textures; +import at.lorenz.mod.LorenzMod; import com.google.common.collect.Lists; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonElement; import com.google.gson.JsonObject; -import at.lorenz.mod.LorenzMod; import java.io.BufferedReader; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; @@ -26,7 +26,7 @@ public class Textures implements IResourceManagerReloadListener { public static void setTexture(int selected) { if (selected >= styles.size() || selected < 0) { texture = DEFAULT_TEXTURE; -// LorenzMod.config.misc.style = 0; + // LorenzMod.config.misc.style = 0; } else { texture = styles.get(selected); } @@ -52,7 +52,6 @@ public class Textures implements IResourceManagerReloadListener { } } } catch (Exception ignored) {} - -// if (LorenzMod.config != null) setTexture(LorenzMod.config.misc.style); + // if (LorenzMod.config != null) setTexture(LorenzMod.config.misc.style); } } |