aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-20 01:41:02 +0900
committersyeyoung <cyong06@naver.com>2021-02-20 01:41:02 +0900
commit8d78c44b5a389981b7e80eb758ed7dced69e8d88 (patch)
treed3bc9931301718bf4ab0b59eeb7b9d7491b52b2b /src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java
parent7c15d593f5f583fc819835f7c0265137beb9c270 (diff)
downloadSkyblock-Dungeons-Guide-8d78c44b5a389981b7e80eb758ed7dced69e8d88.tar.gz
Skyblock-Dungeons-Guide-8d78c44b5a389981b7e80eb758ed7dced69e8d88.tar.bz2
Skyblock-Dungeons-Guide-8d78c44b5a389981b7e80eb758ed7dced69e8d88.zip
solve few bugs, and nice hax
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java
index 6add50c4..1ae85ac5 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java
@@ -65,6 +65,8 @@ public class PanelDelegate extends MPanel {
}
lastX = absMouseX;
lastY = absMouseY;
+
+ if (selectedPart != -1) throw new IllegalArgumentException("bruh, a hack to stop event progress");
}
@Override