mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Wired Condition Not in Team should return true if the user is not in any team
This commit is contained in:
parent
8f660626bc
commit
e9c93b3589
@ -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