Skip to content
This repository was archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Fix rendering order
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Apr 10, 2020
1 parent 97c8f24 commit 800e445
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ private void setExactMode(IconButton button, boolean exactMode) {

@Override
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
super.drawGuiContainerForegroundLayer(mouseX, mouseY);

font.drawString(title.getFormattedText(), 7, 7, 4210752);
font.drawString(I18n.format("container.inventory"), 7, 103 - 4, 4210752);

Expand Down Expand Up @@ -262,6 +260,8 @@ protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
if (!tooltip.isEmpty()) {
GuiUtils.drawHoveringText(tooltip, mouseX - guiLeft, mouseY - guiTop, width, height, -1, Minecraft.getInstance().fontRenderer);
}

super.drawGuiContainerForegroundLayer(mouseX, mouseY);
}

@Override
Expand Down

0 comments on commit 800e445

Please sign in to comment.