diff options
author | syeyoung <cyong06@naver.com> | 2021-07-25 22:27:22 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-07-25 22:28:49 +0900 |
commit | 932399472cb653f5a8fdc1095fa941656a729650 (patch) | |
tree | 6049fdf96de7b2967c56d1d6ea62a6c473845c0a /src/main/java/kr/syeyoung/dungeonsguide/roomedit | |
parent | a6b8e47c879ce5a1c69d0552cdb26a3b3e95e4b6 (diff) | |
download | Skyblock-Dungeons-Guide-932399472cb653f5a8fdc1095fa941656a729650.tar.gz Skyblock-Dungeons-Guide-932399472cb653f5a8fdc1095fa941656a729650.tar.bz2 Skyblock-Dungeons-Guide-932399472cb653f5a8fdc1095fa941656a729650.zip |
Creating Fake Dungeons.
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/roomedit/gui/GuiDungeonRoomEdit.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/gui/GuiDungeonRoomEdit.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/gui/GuiDungeonRoomEdit.java index fee71b54..18c05ae5 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/gui/GuiDungeonRoomEdit.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/gui/GuiDungeonRoomEdit.java @@ -70,6 +70,6 @@ public class GuiDungeonRoomEdit extends MGui { public void initGui() { super.initGui(); // update bounds - getMainPanel().setBounds(new Rectangle(10, Math.min((Minecraft.getMinecraft().displayHeight - 300) / 2, Minecraft.getMinecraft().displayHeight),200,300)); + getMainPanel().setBounds(new Rectangle(Math.min((Minecraft.getMinecraft().displayWidth - 500) / 2, Minecraft.getMinecraft().displayWidth), Math.min((Minecraft.getMinecraft().displayHeight - 300) / 2, Minecraft.getMinecraft().displayHeight),500,300)); } } |