aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2022-05-06 23:36:14 +0900
committersyeyoung <cyoung06@naver.com>2022-05-06 23:36:14 +0900
commitefb389bdad8afe34f746fdbc5328f68aa64aba76 (patch)
treee8524042bf65dee064a6b2782f4911de9455bb0d /src/main
parent0d9c0ad668d89cd2d872f2afc8485a099281ce12 (diff)
downloadSkyblock-Dungeons-Guide-efb389bdad8afe34f746fdbc5328f68aa64aba76.tar.gz
Skyblock-Dungeons-Guide-efb389bdad8afe34f746fdbc5328f68aa64aba76.tar.bz2
Skyblock-Dungeons-Guide-efb389bdad8afe34f746fdbc5328f68aa64aba76.zip
- Remove unnecessary close of mechanic browser tooltip.
Mechanic Browser Tooltip will be closed on first click, no need to close it again
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/mechanicbrowser/PanelMechanicBrowser.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/mechanicbrowser/PanelMechanicBrowser.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/mechanicbrowser/PanelMechanicBrowser.java
index caf7bf8e..25b23e71 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/mechanicbrowser/PanelMechanicBrowser.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/mechanicbrowser/PanelMechanicBrowser.java
@@ -258,8 +258,8 @@ public class PanelMechanicBrowser extends MPanelScaledGUI {
mechanicBrowserTooltip.getMList().add(new MechanicBrowserElement(() -> state, false, (m2, pt2) -> {
if (dungeonRoom.getRoomProcessor() instanceof GeneralRoomProcessor)
((GeneralRoomProcessor)dungeonRoom.getRoomProcessor()).pathfind("MECH-BROWSER", id, state, FeatureRegistry.SECRET_LINE_PROPERTIES_SECRET_BROWSER.getRouteProperties());
- mechanicBrowserTooltip.close();
- mechanicBrowserTooltip = null;
+// mechanicBrowserTooltip.close();
+// mechanicBrowserTooltip = null;
}));
}
mechanicBrowserTooltip.setScale(getScale());