From 99a8a9ab3acad6e282b1f50439028f40215fa77d Mon Sep 17 00:00:00 2001 From: syeyoung Date: Wed, 10 Mar 2021 23:13:07 +0900 Subject: actually we don't need it --- .../kr/syeyoung/dungeonsguide/features/text/StyledTextRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features/text/StyledTextRenderer.java') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/text/StyledTextRenderer.java b/src/main/java/kr/syeyoung/dungeonsguide/features/text/StyledTextRenderer.java index d6fd8ab4..8eef0027 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/text/StyledTextRenderer.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/text/StyledTextRenderer.java @@ -89,7 +89,7 @@ public class StyledTextRenderer { if (stopDraw) return new Dimension(fr.getStringWidth(content), fr.FONT_HEIGHT); - RenderUtils.drawRectSafe(x,y, x+fr.getStringWidth(content), y + fr.FONT_HEIGHT, RenderUtils.getColorAt(x,y, style.getBackground())); + Gui.drawRect(x,y, x+fr.getStringWidth(content), y + fr.FONT_HEIGHT, RenderUtils.getColorAt(x,y, style.getBackground())); GlStateManager.enableBlend(); if (!style.getColor().isChroma()) { -- cgit