From e2c66f35470e824d2896998189a1abeed2fa659d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 8 Nov 2023 00:11:57 +0100 Subject: Fixed Quest Item Helper showing negative numbers. --- src/main/java/at/hannibal2/skyhanni/features/nether/QuestItemHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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" -- cgit