diff options
author | syeyoung <cyong06@naver.com> | 2021-03-10 23:13:07 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-03-10 23:13:07 +0900 |
commit | 99a8a9ab3acad6e282b1f50439028f40215fa77d (patch) | |
tree | 10c1428524253614bc065bf044e056eb834c0364 /src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java | |
parent | 92ce9024b73df31f3c88ad23a7443dec2578469c (diff) | |
download | Skyblock-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-x | src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MButton.java | 2 |
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()); |