aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-03-10 23:13:07 +0900
committersyeyoung <cyong06@naver.com>2021-03-10 23:13:07 +0900
commit99a8a9ab3acad6e282b1f50439028f40215fa77d (patch)
tree10c1428524253614bc065bf044e056eb834c0364 /src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java
parent92ce9024b73df31f3c88ad23a7443dec2578469c (diff)
downloadSkyblock-Dungeons-Guide-99a8a9ab3acad6e282b1f50439028f40215fa77d.tar.gz
Skyblock-Dungeons-Guide-99a8a9ab3acad6e282b1f50439028f40215fa77d.tar.bz2
Skyblock-Dungeons-Guide-99a8a9ab3acad6e282b1f50439028f40215fa77d.zip
actually we don't need it
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java b/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java
index 998bb40e..983d571d 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java
@@ -35,7 +35,7 @@ public class MButton extends MPanel {
bg = hover;
}
if (bg != null)
- RenderUtils.drawRectSafe(0,0,getBounds().width, getBounds().height, bg.getRGB());
+ Gui.drawRect(0,0,getBounds().width, getBounds().height, bg.getRGB());
FontRenderer renderer = Minecraft.getMinecraft().fontRendererObj;
int width = renderer.getStringWidth(getText());