From baf3b8aa15cbd2dc0fcb4a80707557c44ee30c16 Mon Sep 17 00:00:00 2001 From: ThatGravyBoat Date: Sat, 17 Jul 2021 03:56:58 +0000 Subject: Prettified Code! --- .../java/com/thatgravyboat/skyblockhud/handlers/NpcDialogue.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/thatgravyboat/skyblockhud/handlers') 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); } -- cgit