mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-14 01:24:09 +00:00
Unneeded Code
This commit is contained in:
1 parent
75e5e1f541
commit
22f3fc0dad
1 file changed
+2
-6
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user