Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatApplePieGuy committed Jul 5, 2024
1 parent ab58b73 commit 89ba8ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/nodomain/applepies/hitboxes/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ public static boolean canRenderNametag(EntityPlayer player) {
break;
}
case HIDE_FOR_OTHER_TEAMS: {
visible = !(ownTeam == null || team.isSameTeam(ownTeam));
visible = ownTeam == null || team.isSameTeam(ownTeam);
break;
}
case HIDE_FOR_OWN_TEAM: {
visible = !(ownTeam == null || !team.isSameTeam(ownTeam));
visible = ownTeam == null || !team.isSameTeam(ownTeam);
break;
}
}
Expand Down

0 comments on commit 89ba8ba

Please sign in to comment.