From 22f3fc0dad89086ed5c6e01f493365f744295839 Mon Sep 17 00:00:00 2001 From: Kam Date: Thu, 9 Nov 2023 18:36:12 -0500 Subject: [PATCH] Unneeded Code --- .../npcs/client/gui/global/GuiNPCEditAnimation.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/java/noppes/npcs/client/gui/global/GuiNPCEditAnimation.java b/src/main/java/noppes/npcs/client/gui/global/GuiNPCEditAnimation.java index d58cea415..0fc5f87c3 100644 --- a/src/main/java/noppes/npcs/client/gui/global/GuiNPCEditAnimation.java +++ b/src/main/java/noppes/npcs/client/gui/global/GuiNPCEditAnimation.java @@ -50,12 +50,8 @@ public class GuiNPCEditAnimation extends GuiModelInterface implements ITextfield int bodyPartX = 280; int bodyPartY = -5; for (int i = 0; i < 3; i++) { - int yOffset = 20; - if(i != 0) - yOffset += 3; - yOffset *= i; - this.rotationSliders[i] = new GuiNpcSlider(this, 90 + i, guiLeft + bodyPartX, guiTop + bodyPartY + 115 + yOffset, 0.5F); - this.pivotSliders[i] = new GuiNpcSlider(this, 95 + i, guiLeft + bodyPartX, guiTop + bodyPartY + 115 + yOffset, 0.5F); + this.rotationSliders[i] = new GuiNpcSlider(this, 90 + i, guiLeft + bodyPartX, guiTop + bodyPartY + 115 + (20 * i), 0.5F); + this.pivotSliders[i] = new GuiNpcSlider(this, 95 + i, guiLeft + bodyPartX, guiTop + bodyPartY + 115 + (20 * i), 0.5F); } }