Fixed small bug introduced in bb09a46f1f.

This commit is contained in:
raoulvdberge
2018-07-01 16:38:23 +02:00
parent a987dcda1f
commit 2265bf5d6b

View File

@@ -382,7 +382,7 @@ public abstract class GuiBase extends GuiContainer {
public void drawTooltip(@Nonnull ItemStack stack, int x, int y, List<String> lines) {
GlStateManager.disableLighting();
GuiUtils.drawHoveringText(stack, lines, x, y, screenWidth, screenHeight, -1, fontRenderer);
GuiUtils.drawHoveringText(stack, lines, x, y, width - guiLeft, height, -1, fontRenderer);
GlStateManager.enableLighting();
}