From 9fa35d8e86c76548f8cbe5d78e2f082104ab93bb Mon Sep 17 00:00:00 2001 From: hannibal00212 Date: Fri, 8 Jul 2022 14:03:31 +0000 Subject: Prettified Code! --- src/main/java/com/thatgravyboat/skyblockhud/textures/Textures.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main/java/com/thatgravyboat/skyblockhud/textures') 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); } } -- cgit