Merge branch 'patch-cnd-not-in-team' into 'dev'

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

See merge request morningstar/Arcturus-Community!84
This commit is contained in:
Harmonic 2020-01-23 16:19:58 -05:00
commit 52209e52bd

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;