Revert progress bar changes for now.

Fixes https://github.com/TechReborn/TechReborn/issues/3145
This commit is contained in:
modmuss50 2023-06-23 15:06:10 +01:00
parent a108166075
commit 99c7b1ba1e
2 changed files with 46 additions and 22 deletions

View file

@ -277,8 +277,10 @@ public class ReiPlugin implements REIClientPlugin {
}
switch (direction) {
case RIGHT, LEFT -> drawSprite(drawContext, direction.overlaySprite, x, y, j, 10);
case UP, DOWN -> drawSprite(drawContext, direction.overlaySprite, x, y, 10, j);
case RIGHT -> drawContext.drawTexture(GuiBuilder.GUI_ELEMENTS, x, y, direction.xActive, direction.yActive, j, 10);
case LEFT -> drawContext.drawTexture(GuiBuilder.GUI_ELEMENTS, x + 16 - j, y, direction.xActive + 16 - j, direction.yActive, j, 10);
case UP -> drawContext.drawTexture(GuiBuilder.GUI_ELEMENTS, x, y + 16 - j, direction.xActive, direction.yActive + 16 - j, 10, j);
case DOWN -> drawContext.drawTexture(GuiBuilder.GUI_ELEMENTS, x, y, direction.xActive, direction.yActive, 10, j);
}
});
}