Skip to content

Commit 8839675

Browse files
fix: only stop selling to auction for favorited items
1 parent 8fc63e9 commit 8839675

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/kotlin/gg/skytils/skytilsmod/features/impl/protectitems/strategy/impl/ItemWorthStrategy.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ object ItemWorthStrategy : ItemProtectStrategy() {
3535
ProtectType.HOTBARDROPKEY -> {
3636
!DungeonFeatures.hasClearedText && value >= threshold
3737
}
38+
ProtectType.SELLTOAUCTION -> false
3839
else -> value >= threshold
3940
}
4041
}

src/main/kotlin/gg/skytils/skytilsmod/features/impl/protectitems/strategy/impl/StarredItemStrategy.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ object StarredItemStrategy : ItemProtectStrategy() {
3333
ProtectType.HOTBARDROPKEY -> {
3434
!DungeonFeatures.hasClearedText && isStarred
3535
}
36+
ProtectType.SELLTOAUCTION -> false
3637
else -> isStarred
3738
}
3839
}

0 commit comments

Comments
 (0)