diff --git a/src/main/java/com/eu/habbo/habbohotel/users/HabboStats.java b/src/main/java/com/eu/habbo/habbohotel/users/HabboStats.java index 855d4972..705ae190 100644 --- a/src/main/java/com/eu/habbo/habbohotel/users/HabboStats.java +++ b/src/main/java/com/eu/habbo/habbohotel/users/HabboStats.java @@ -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() {