Wired Condition Not in Team should return true if the user is not in any team

This commit is contained in:
skeletor 2020-01-23 16:19:58 -05:00 committed by Harmonic
parent 8f660626bc
commit e9c93b3589

View File

@ -34,6 +34,7 @@ public class WiredConditionNotInTeam extends InteractionWiredCondition {
if (habbo.getHabboInfo().getGamePlayer() != null) {
return !habbo.getHabboInfo().getGamePlayer().getTeamColor().equals(this.teamColor);
}
return true; // user is not part of any team
}
return false;