Skip to content

Commit

Permalink
Fix tooltips not rendering in the expanded/Baubles player inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
maruohon committed Jun 30, 2017
1 parent 8da6c40 commit 405cd82
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/java/baubles/client/gui/GuiPlayerExpanded.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ protected void drawGuiContainerForegroundLayer(int p_146979_1_, int p_146979_2_)
* Draws the screen and all the components in it.
*/
@Override
public void drawScreen(int par1, int par2, float par3)
public void drawScreen(int mouseX, int mouseY, float partialTicks)
{
this.drawDefaultBackground();
super.drawScreen(par1, par2, par3);
this.xSizeFloat = (float)par1;
this.ySizeFloat = (float)par2;
super.drawScreen(mouseX, mouseY, partialTicks);
this.xSizeFloat = (float) mouseX;
this.ySizeFloat = (float) mouseY;
this.renderHoveredToolTip(mouseX, mouseY);
}

@Override
Expand Down

0 comments on commit 405cd82

Please sign in to comment.