diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-05 01:29:02 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-05 01:29:02 +0200 |
commit | e4bcb21e10d7bb5f9fefbb3d826ea7182553b0eb (patch) | |
tree | f3bc011d4da60769e538a7cd7eed894ac844460a /src/main/java | |
parent | b87a60ff321111234e976667be277d206787dba4 (diff) | |
download | skyhanni-e4bcb21e10d7bb5f9fefbb3d826ea7182553b0eb.tar.gz skyhanni-e4bcb21e10d7bb5f9fefbb3d826ea7182553b0eb.tar.bz2 skyhanni-e4bcb21e10d7bb5f9fefbb3d826ea7182553b0eb.zip |
Fixed slayer rng meter problem to detect the selected item
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerRngMeterDisplay.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerRngMeterDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerRngMeterDisplay.kt index cb40e10a5..252f3946c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerRngMeterDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerRngMeterDisplay.kt @@ -117,7 +117,7 @@ class SlayerRngMeterDisplay { val storage = getStorage() ?: return - val selectedItem = event.inventoryItems.values.find { item -> item.getLore().any { it.contains("§aSELECTED") } } + val selectedItem = event.inventoryItems.values.find { item -> item.getLore().any { it.contains("§a§lSELECTED") } } if (selectedItem == null) { storage.itemGoal = "" storage.goalNeeded = -1 |