Skip to content

Commit a22994b

Browse files
committed
go for stacks in the hotbar first for AutoArmor
1 parent 2832bb5 commit a22994b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/main/kotlin/com/lambda/module/modules/combat

src/main/kotlin/com/lambda/module/modules/combat/AutoArmor.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ object AutoArmor : Module(
9898
}.thenByDescending { slot ->
9999
slot.stack.getEnchantment(Enchantments.UNBREAKING) +
100100
slot.stack.getEnchantment(Enchantments.MENDING)
101+
}.thenByDescending { slot ->
102+
slot.index in 0..8
101103
}
102104

103105
init {

0 commit comments

Comments
 (0)