aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-07-25 22:27:22 +0900
committersyeyoung <cyong06@naver.com>2021-07-25 22:28:49 +0900
commit932399472cb653f5a8fdc1095fa941656a729650 (patch)
tree6049fdf96de7b2967c56d1d6ea62a6c473845c0a /src/main/java/kr/syeyoung/dungeonsguide/roomedit
parenta6b8e47c879ce5a1c69d0552cdb26a3b3e95e4b6 (diff)
downloadSkyblock-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-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/gui/GuiDungeonRoomEdit.java2
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));
}
}