aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-08 00:11:57 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-08 00:11:57 +0100
commite2c66f35470e824d2896998189a1abeed2fa659d (patch)
tree26c1b9065aa4c208e805e8e2d403c3fb83cc0e34 /src/main/java
parentf1930397ccfb9d953bbd93ace46508c487dd6579 (diff)
downloadskyhanni-e2c66f35470e824d2896998189a1abeed2fa659d.tar.gz
skyhanni-e2c66f35470e824d2896998189a1abeed2fa659d.tar.bz2
skyhanni-e2c66f35470e824d2896998189a1abeed2fa659d.zip
Fixed Quest Item Helper showing negative numbers.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/QuestItemHelper.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/QuestItemHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/QuestItemHelper.kt
index e87a3f63b..956572f91 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/QuestItemHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/QuestItemHelper.kt
@@ -33,7 +33,7 @@ class QuestItemHelper {
val have = InventoryUtils.countItemsInLowerInventory { it.name?.contains(questItem) == true }
if (have >= need) break
- val missingAmount = have - need
+ val missingAmount = need - have
LorenzUtils.clickableChat(
"§e[SkyHanni] Click here to grab x$missingAmount $questItem from sacks!",
"gfs $questItem $missingAmount"