Skip to content

Commit

Permalink
Removed a conditional check
Browse files Browse the repository at this point in the history
  • Loading branch information
Horatio27 committed Oct 29, 2023
1 parent d670a34 commit 6381962
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sim/core/item_swaps.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@ func (swap *ItemSwap) getItemStats(item Item) stats.Stats {

func (swap *ItemSwap) swapWeapon(slot proto.ItemSlot) {
character := swap.character
if !character.AutoAttacks.AutoSwingMelee() && !character.AutoAttacks.AutoSwingRanged() {
return
}

switch slot {
case proto.ItemSlot_ItemSlotMainHand:
Expand Down

0 comments on commit 6381962

Please sign in to comment.