Skip to content

Commit

Permalink
Patch #284
Browse files Browse the repository at this point in the history
  • Loading branch information
Starmania committed Aug 25, 2023
1 parent 8645f2d commit 377abe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/anticope/rejects/modules/AimAssist.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private void onTick(TickEvent.Post event) {
if (!PlayerUtils.isWithin(entity, range.get())) return false;
if (!ignoreWalls.get() && !PlayerUtils.canSeeEntity(entity)) return false;
if (entity == mc.player || !entities.get().contains(entity.getType())) return false;
if (entity instanceof PlayerEntity) return Friends.get().shouldAttack((PlayerEntity) entity);
if (entity instanceof PlayerEntity && !Friends.get().shouldAttack((PlayerEntity) entity)) return false;
return RejectsUtils.inFov(entity, fov.get());
}, priority.get());
}
Expand Down

0 comments on commit 377abe0

Please sign in to comment.