mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-06 23:15:33 +02: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) {
|
if (habbo.getHabboInfo().getGamePlayer() != null) {
|
||||||
return !habbo.getHabboInfo().getGamePlayer().getTeamColor().equals(this.teamColor);
|
return !habbo.getHabboInfo().getGamePlayer().getTeamColor().equals(this.teamColor);
|
||||||
}
|
}
|
||||||
|
return true; // user is not part of any team
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user