This commit is contained in:
Josh-Larson
2014-07-29 23:31:36 -05:00
11 changed files with 738 additions and 1451 deletions
File diff suppressed because it is too large Load Diff
+8 -2
View File
@@ -1124,8 +1124,14 @@ public class GuildService implements INetworkDispatch {
public boolean removeGuild(int id) {
Guild guild = getGuildById(id);
if (guild != null)
return true;
if (guild != null) {
if (object.getGuildList().remove(guild.getString())) {
object.getGuilds().remove(id);
if (!object.getGuilds().containsKey(id)) return true;
else return false;
}
else return false;
}
return false;
}