Skip to content

Commit

Permalink
Fix collapsible entry configure button not rendering the icon at the …
Browse files Browse the repository at this point in the history
…correct location
  • Loading branch information
shedaniel committed Apr 16, 2024
1 parent d0cbdae commit 0f7916e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public CollapsibleEntryWidget(boolean custom, ResourceLocation id, Component com
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 {
Expand Down

0 comments on commit 0f7916e

Please sign in to comment.