Skip to content

Commit

Permalink
Small bug fix for entity relationship filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Oct 10, 2018
1 parent 29d83fe commit ea1789a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/com/matt/forgehax/mods/Aimbot.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,13 @@ private boolean isFiltered(Entity entity) {
case PLAYER:
return target_players.get();
case FRIENDLY:
case NEUTRAL:
return target_mobs_friendly.get();
case HOSTILE:
default:
return target_mobs_hostile.get();
case INVALID:
default:
return false;
}
}

Expand Down

0 comments on commit ea1789a

Please sign in to comment.