Skip to content

Commit

Permalink
Refactor farming_behavior.rs to remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Slyker committed Apr 9, 2024
1 parent f651143 commit a88394e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src-tauri/src/behavior/farming_behavior.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ impl FarmingBehavior<'_> {
if config.prioritize_aggro() {
mob_list = mobs
.iter()
//.filter(|m| m.target_type != TargetType::Mob(MobType::Violet)) // removing violets from coordinates
.filter(|m| m.target_type == TargetType::Mob(MobType::Aggressive))
.cloned()
.collect::<Vec<_>>();
Expand All @@ -461,7 +460,6 @@ impl FarmingBehavior<'_> {
{
mob_list = mobs
.iter()
//.filter(|m| m.target_type != TargetType::Mob(MobType::Violet)) // removing violets from coordinates
.filter(|m| m.target_type == TargetType::Mob(MobType::Passive))
.cloned()
.collect::<Vec<_>>();
Expand Down

0 comments on commit a88394e

Please sign in to comment.