make hasGuild one line

This commit is contained in:
brenoepic 2022-04-29 18:31:27 -03:00
parent 1db8ff2118
commit 16f0a61932

View File

@ -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() {