diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-06-08 13:33:35 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-08 13:33:35 +1000 |
commit | 5b3ee9de1856d9989e20cc4d534cac17089ce0e5 (patch) | |
tree | 6186c64e1f7d59c2dd04b7ffb05925609811895a /src/main/java/at/hannibal2/skyhanni/data/GuiData.kt | |
parent | aaca5f08d47732b3db5329a3a9404281b21d2f55 (diff) | |
download | skyhanni-5b3ee9de1856d9989e20cc4d534cac17089ce0e5.tar.gz skyhanni-5b3ee9de1856d9989e20cc4d534cac17089ce0e5.tar.bz2 skyhanni-5b3ee9de1856d9989e20cc4d534cac17089ce0e5.zip |
Backend: Start using new event system (#2023)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/GuiData.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/GuiData.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuiData.kt b/src/main/java/at/hannibal2/skyhanni/data/GuiData.kt index e128143e1..c51e4cccc 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/GuiData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/GuiData.kt @@ -1,5 +1,6 @@ package at.hannibal2.skyhanni.data +import at.hannibal2.skyhanni.api.event.HandleEvent import at.hannibal2.skyhanni.events.GuiContainerEvent import at.hannibal2.skyhanni.events.InventoryCloseEvent import at.hannibal2.skyhanni.events.LorenzWorldChangeEvent @@ -60,7 +61,7 @@ object GuiData { preDrawEventCanceled = false } - @SubscribeEvent + @HandleEvent fun onDisconnect(event: ClientDisconnectEvent) { preDrawEventCanceled = false } |