mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-17 07:02:53 -04:00
Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user