mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
This commit is contained in:
@@ -62,7 +62,6 @@ import services.BuffService;
|
||||
import services.CharacterService;
|
||||
import services.ConnectionService;
|
||||
import services.ConversationService;
|
||||
import services.DevService;
|
||||
import services.EntertainmentService;
|
||||
import services.GroupService;
|
||||
import services.housing.HousingService;
|
||||
@@ -197,7 +196,6 @@ public class NGECore {
|
||||
public AIService aiService;
|
||||
public MissionService missionService;
|
||||
public InstanceService instanceService;
|
||||
public DevService devService;
|
||||
public SurveyService surveyService;
|
||||
public ResourceService resourceService;
|
||||
public ConversationService conversationService;
|
||||
@@ -554,7 +552,6 @@ public class NGECore {
|
||||
|
||||
browserService = new BrowserService(this);
|
||||
//battlefieldService = new BattlefieldService(this);
|
||||
devService = new DevService(this);
|
||||
|
||||
DevLogQueuer devLogQueuer = new DevLogQueuer();
|
||||
|
||||
|
||||
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