aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2024-04-16 03:30:29 +0900
committershedaniel <daniel@shedaniel.me>2024-04-16 17:19:08 +0900
commit0f7916e5a7cb217d6535de483765cd90d388e5c1 (patch)
treef061875a96eac0bd3610fd3773bd8f9e5eaf0e02
parentd0cbdaec7d80bc667d21e1a9a8805b075296abef (diff)
downloadRoughlyEnoughItems-0f7916e5a7cb217d6535de483765cd90d388e5c1.tar.gz
RoughlyEnoughItems-0f7916e5a7cb217d6535de483765cd90d388e5c1.tar.bz2
RoughlyEnoughItems-0f7916e5a7cb217d6535de483765cd90d388e5c1.zip
Fix collapsible entry configure button not rendering the icon at the correct location
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/client/gui/screen/collapsible/CollapsibleEntryWidget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/screen/collapsible/CollapsibleEntryWidget.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/screen/collapsible/CollapsibleEntryWidget.java
index 88596a0f7..f7bca78e2 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/screen/collapsible/CollapsibleEntryWidget.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/screen/collapsible/CollapsibleEntryWidget.java
@@ -121,7 +121,7 @@ public class CollapsibleEntryWidget extends WidgetWithBounds {
public void render(PoseStack matrices, int mouseX, int mouseY, float delta) {
super.render(matrices, mouseX, mouseY, delta);
RenderSystem.setShaderTexture(0, InternalTextures.CHEST_GUI_TEXTURE);
- blit(matrices, x + 3, y + 3, 0, 0, 14, 14);
+ blit(matrices, getX() + 3, getY() + 3, 0, 0, 14, 14);
}
};
} else {