aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2021-10-03 23:03:46 +0900
committersyeyoung <cyoung06@naver.com>2021-10-03 23:03:46 +0900
commitb5380a324eaf3d82ca8aaecf1e6cb48ab53ad768 (patch)
tree1ea5ca670c73b80f32a98762a5759f837df58be4 /src/main/java/kr/syeyoung/dungeonsguide
parentcb01114ea4427f764efbd58103a96643220491a2 (diff)
downloadSkyblock-Dungeons-Guide-b5380a324eaf3d82ca8aaecf1e6cb48ab53ad768.tar.gz
Skyblock-Dungeons-Guide-b5380a324eaf3d82ca8aaecf1e6cb48ab53ad768.tar.bz2
Skyblock-Dungeons-Guide-b5380a324eaf3d82ca8aaecf1e6cb48ab53ad768.zip
- FIX: GUI Elements overlapping tab list
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/eventlistener/DungeonListener.java2
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/eventlistener/FeatureListener.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/eventlistener/DungeonListener.java b/src/main/java/kr/syeyoung/dungeonsguide/eventlistener/DungeonListener.java
index 49e8a40c..9f2e0c61 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/eventlistener/DungeonListener.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/eventlistener/DungeonListener.java
@@ -245,7 +245,7 @@ public class DungeonListener {
@SubscribeEvent
public void onRender(RenderGameOverlayEvent.Post postRender) {
try {
- if (postRender.type != RenderGameOverlayEvent.ElementType.ALL) return;
+ if (!(postRender.type == RenderGameOverlayEvent.ElementType.EXPERIENCE || postRender.type == RenderGameOverlayEvent.ElementType.JUMPBAR)) return;
SkyblockStatus skyblockStatus = DungeonsGuide.getDungeonsGuide().getSkyblockStatus();
if (!skyblockStatus.isOnDungeon()) return;
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/eventlistener/FeatureListener.java b/src/main/java/kr/syeyoung/dungeonsguide/eventlistener/FeatureListener.java
index 22057ab3..a3e8faa3 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/eventlistener/FeatureListener.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/eventlistener/FeatureListener.java
@@ -41,7 +41,7 @@ public class FeatureListener {
try {
boolean isLocConfig = Minecraft.getMinecraft().currentScreen instanceof GuiGuiLocationConfig;
- if (postRender.type != RenderGameOverlayEvent.ElementType.ALL) return;
+ if (!(postRender.type == RenderGameOverlayEvent.ElementType.EXPERIENCE || postRender.type == RenderGameOverlayEvent.ElementType.JUMPBAR)) return;
SkyblockStatus skyblockStatus = DungeonsGuide.getDungeonsGuide().getSkyblockStatus();
if (!skyblockStatus.isOnSkyblock()) return;