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:
Waverunner
2014-05-26 12:43:06 -04:00
parent c85eb36eec
commit 38441e069e
19 changed files with 506 additions and 98 deletions
+7
View File
@@ -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());