Skip to content

Commit 1c6be60

Browse files
committed
fix: Purchase Revive cooldown item on Item Pickup Log
1 parent e68688f commit 1c6be60

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/codes/biscuit/skyblockaddons/utils/InventoryUtils.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,9 @@ public void updateWithItem(ItemStack itemStack) {
526526
if (main.getUtils().isInDungeon() && StringUtils.isBlank(displayName)) {
527527
// Ignore Archer's ghost abilities cooldown
528528
return;
529-
} else if (LocationUtils.isOn(Island.KUUDRA) && itemStack.getDisplayName().contains("You will be revived in")) {
530-
// Ignore revive counter item in Kuudra
529+
} else if (LocationUtils.isOn(Island.KUUDRA) && (displayName.contains("You will be revived in")
530+
|| displayName.contains("Purchasable revive is on cooldown!"))) {
531+
// Ignore revive counter and Purchase Revive cooldown items in Kuudra
531532
return;
532533
}
533534
} else if (ItemUtils.isQuiverArrow(itemStack)) {

0 commit comments

Comments
 (0)