mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
Most work on friends list finished
Need to be done: notifying when the checkbox is selected for certain users, deltas (crashes right now), removing friends
This commit is contained in:
@@ -45,6 +45,7 @@ import org.python.core.PyObject;
|
||||
|
||||
import com.sleepycat.persist.EntityCursor;
|
||||
|
||||
import protocol.swg.ChatOnGetFriendsList;
|
||||
import protocol.swg.CmdSceneReady;
|
||||
import protocol.swg.CmdStartScene;
|
||||
import protocol.swg.HeartBeatMessage;
|
||||
@@ -429,6 +430,11 @@ public class ObjectService implements INetworkDispatch {
|
||||
CmdSceneReady sceneReady = new CmdSceneReady();
|
||||
client.getSession().write(sceneReady.serialize());
|
||||
|
||||
PlayerObject ghost = (PlayerObject) creature.getSlottedObject("ghost");
|
||||
|
||||
ChatOnGetFriendsList friendsListMessage = new ChatOnGetFriendsList(ghost);
|
||||
client.getSession().write(friendsListMessage.serialize());
|
||||
|
||||
core.playerService.postZoneIn(creature);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user