Skip to content

Commit

Permalink
Merge branch 'feature/skyblock-xp' into improvement/sbxp-cs
Browse files Browse the repository at this point in the history
  • Loading branch information
j10a1n15 committed Dec 10, 2024
2 parents ba62195 + d368197 commit 9fd2827
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/at/hannibal2/skyhanni/api/SkyBlockXPAPI.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package at.hannibal2.skyhanni.api

import at.hannibal2.skyhanni.api.event.HandleEvent
import at.hannibal2.skyhanni.data.ProfileStorageData
import at.hannibal2.skyhanni.data.model.TabWidget
import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent
Expand Down Expand Up @@ -66,7 +67,7 @@ object SkyBlockXPAPI {
private val xpPattern by group.pattern("xp", "\\w\\s]+§b(?<xp>\\d+)§3\\/§b100 §bXP")


@SubscribeEvent
@HandleEvent
fun onWidgetUpdate(event: WidgetUpdateEvent) {
if (!event.isWidget(TabWidget.SB_LEVEL)) return

Expand Down

0 comments on commit 9fd2827

Please sign in to comment.