mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-14 04:13:14 -04:00
Refactored guild creation, enabled access to guild creation device, guild disband, guild kick, guild members, moved server motd to motd.txt
This commit is contained in:
@@ -811,6 +811,13 @@ public class SimulationService implements INetworkDispatch {
|
||||
|
||||
core.mountService.storeAll(object);
|
||||
|
||||
for (Integer roomId : ghost.getJoinedChatChannels()) {
|
||||
ChatRoom room = core.chatService.getChatRoom(roomId.intValue());
|
||||
|
||||
if (room != null) { core.chatService.leaveChatRoom(object, roomId.intValue()); }
|
||||
// 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