aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/RenderData.kt
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-02-10 00:24:52 +0100
committerGitHub <noreply@github.com>2024-02-10 00:24:52 +0100
commit4559e5ff05e19817a21ae49f1c0d8a97d273f6a1 (patch)
treee72dac91d07fc84bea80548c89e13276caa68b81 /src/main/java/at/hannibal2/skyhanni/data/RenderData.kt
parentd3a7cc4ab970b457b7950489da781539e45e0dce (diff)
downloadskyhanni-4559e5ff05e19817a21ae49f1c0d8a97d273f6a1.tar.gz
skyhanni-4559e5ff05e19817a21ae49f1c0d8a97d273f6a1.tar.bz2
skyhanni-4559e5ff05e19817a21ae49f1c0d8a97d273f6a1.zip
Splitting many utils functions from LorenzUtils up into other classes: ChatUtils, CollectionUtils, ConditionalUtils. And code cleanup #978
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/RenderData.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/RenderData.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/RenderData.kt b/src/main/java/at/hannibal2/skyhanni/data/RenderData.kt
index 917ea9f5d..2ca07b16c 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/RenderData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/RenderData.kt
@@ -24,9 +24,9 @@ class RenderData {
if (!SkyHanniDebugsAndTests.globalRender) return
if (GuiEditManager.isInGui() || VisualWordGui.isInGui()) return
- GlStateManager.translate(0f,0f,-3f)
+ GlStateManager.translate(0f, 0f, -3f)
GuiRenderEvent.GuiOverlayRenderEvent().postAndCatch()
- GlStateManager.translate(0f,0f,3f)
+ GlStateManager.translate(0f, 0f, 3f)
}
@SubscribeEvent
@@ -40,9 +40,9 @@ class RenderData {
GlStateManager.enableDepth()
if (GuiEditManager.isInGui()) {
- GlStateManager.translate(0f,0f,-3f)
+ GlStateManager.translate(0f, 0f, -3f)
GuiRenderEvent.GuiOverlayRenderEvent().postAndCatch()
- GlStateManager.translate(0f,0f,3f)
+ GlStateManager.translate(0f, 0f, 3f)
}
GuiRenderEvent.ChestGuiOverlayRenderEvent().postAndCatch()