mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
make hasGuild one line
This commit is contained in:
parent
1db8ff2118
commit
16f0a61932
@ -421,12 +421,7 @@ public class HabboStats implements Runnable {
|
||||
}
|
||||
|
||||
public boolean hasGuild(int guildId) {
|
||||
for (int i : this.guilds) {
|
||||
if (i == guildId)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return this.guilds.contains(guildId);
|
||||
}
|
||||
|
||||
public int getAchievementScore() {
|
||||
|
Loading…
Reference in New Issue
Block a user