Fixed small bug introduced in bb09a46f1f
.
This commit is contained in:
@@ -382,7 +382,7 @@ public abstract class GuiBase extends GuiContainer {
|
|||||||
|
|
||||||
public void drawTooltip(@Nonnull ItemStack stack, int x, int y, List<String> lines) {
|
public void drawTooltip(@Nonnull ItemStack stack, int x, int y, List<String> lines) {
|
||||||
GlStateManager.disableLighting();
|
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();
|
GlStateManager.enableLighting();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user