mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-27 17:57:22 -04:00
Added more guild features, fixed re-joining chat channels on relog
Changed guilds to be saved to a TreeMap instead of solely the SWGSet. Fixed uses string Added UnknownAbilityPacket (was sent for every new ability, doesnt seem to do anything) Lots of guild improvement/features added.
This commit is contained in:
@@ -811,13 +811,14 @@ public class SimulationService implements INetworkDispatch {
|
||||
|
||||
core.mountService.storeAll(object);
|
||||
|
||||
/*for (Integer roomId : ghost.getJoinedChatChannels()) { // TODO: Fix Concurrency error
|
||||
List<Integer> joinedChannels = ghost.getJoinedChatChannels();
|
||||
for (Integer roomId : joinedChannels) {
|
||||
ChatRoom room = core.chatService.getChatRoom(roomId.intValue());
|
||||
|
||||
if (room != null) { core.chatService.leaveChatRoom(object, roomId.intValue()); }
|
||||
if (room != null) { core.chatService.leaveChatRoom(object, roomId.intValue(), false); }
|
||||
// work-around for any channels that may have been deleted, or only spawn on server startup, that were added to the joined channels
|
||||
else { ghost.removeChannel(roomId); }
|
||||
}*/
|
||||
}
|
||||
/*
|
||||
object.createTransaction(core.getCreatureODB().getEnvironment());
|
||||
core.getCreatureODB().put(object, Long.class, CreatureObject.class, object.getTransaction());
|
||||
|
||||
Reference in New Issue
Block a user