mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 04:12:37 +01:00
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:
commit
52209e52bd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user