Skip to content

Commit

Permalink
Fix the workbench GUI missing it's background
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbegt committed Jan 2, 2018
1 parent 11b0a75 commit fdfa739
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -27,6 +27,19 @@ public WorkbenchGui(InventoryPlayer playerInv, World worldIn, BlockPos blockPosi
super(new WorkbenchContainer(playerInv, worldIn, blockPosition));
}

/**
* Draws the screen and all the components in it.
*/
@Override
public void drawScreen(int mouseX, int mouseY, float partialTicks)
{
this.drawDefaultBackground();

super.drawScreen(mouseX, mouseY, partialTicks);

this.renderHoveredToolTip(mouseX, mouseY);
}

/**
* Draw the foreground layer for the GuiContainer (everything in front of the items)
*/
Expand Down

0 comments on commit fdfa739

Please sign in to comment.