Revert "1.20.5 port"

This reverts commit 78c6894135.
This commit is contained in:
Oth3r 2025-04-08 14:30:40 -05:00
commit eb32cdc143
2 changed files with 6 additions and 0 deletions

View file

@ -20,6 +20,8 @@ public class ClickableImageWidget extends ButtonWidget {
@Override
protected void renderWidget(DrawContext context, int mouseX, int mouseY, float delta) {
RenderSystem.enableBlend();
RenderSystem.enableDepthTest();
context.drawTexture(RenderLayer::getGuiTextured, image,
this.getX(), this.getY(), 0.0f, 0.0f, this.getWidth(), this.getHeight(), this.getWidth(), this.getHeight());
}