Satisfy the pixel peepers (armor tab texture offset fix) (#211)

This commit is contained in:
Wilhelm Schuster authored and GitHub committed 2025-09-16 16:41:10 +02:00
1 parent fd11fb5237
commit e97d290a6b
1 file changed
+1 -1
@@ -26,7 +26,7 @@ public abstract class AbstractTab extends GuiButton {
if (this.visible) {
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
int yTexPos = this.enabled ? 3 : 32;
int yTexPos = this.enabled ? 2 : 32;
int ySize = this.enabled ? 25 : 32;
int xOffset = this.id == 2 ? 0 : 1;
int yPos = this.yPosition + (this.enabled ? 3 : 0);