aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/handlers
diff options
context:
space:
mode:
authorThatGravyBoat <ThatGravyBoat@users.noreply.github.com>2021-07-17 03:56:58 +0000
committerGitHub Action <actions@github.com>2021-07-17 03:56:58 +0000
commitbaf3b8aa15cbd2dc0fcb4a80707557c44ee30c16 (patch)
treeea5e7062f7f808cb918e354068bbf9a669ad14f7 /src/main/java/com/thatgravyboat/skyblockhud/handlers
parente364de18cbcbc9f334d890703812876789374bab (diff)
downloadSkyblockHud-Death-Defied-baf3b8aa15cbd2dc0fcb4a80707557c44ee30c16.tar.gz
SkyblockHud-Death-Defied-baf3b8aa15cbd2dc0fcb4a80707557c44ee30c16.tar.bz2
SkyblockHud-Death-Defied-baf3b8aa15cbd2dc0fcb4a80707557c44ee30c16.zip
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/handlers')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/handlers/NpcDialogue.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/handlers/NpcDialogue.java b/src/main/java/com/thatgravyboat/skyblockhud/handlers/NpcDialogue.java
index 1db9d1a..1f56526 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/handlers/NpcDialogue.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/handlers/NpcDialogue.java
@@ -1,5 +1,7 @@
package com.thatgravyboat.skyblockhud.handlers;
+import static com.thatgravyboat.skyblockhud.GuiTextures.dialogue;
+
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
@@ -25,8 +27,6 @@ import net.minecraftforge.client.event.RenderGameOverlayEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
-import static com.thatgravyboat.skyblockhud.GuiTextures.dialogue;
-
public class NpcDialogue implements IResourceManagerReloadListener {
public static final Pattern NPC_DIALOGUE_REGEX = Pattern.compile("\\[NPC] (.*): (.*)");
@@ -90,7 +90,7 @@ public class NpcDialogue implements IResourceManagerReloadListener {
String npcID = currentNpc.toLowerCase(Locale.ENGLISH).replace(" ", "_");
- if (NPCS.containsKey(npcID)){
+ if (NPCS.containsKey(npcID)) {
mc.renderEngine.bindTexture(NPCS.get(npcID));
Gui.drawModalRectWithCustomSizedTexture(x + 4, y + 4, 0, 0, 32, 60, 128, 128);
}