mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-15 00:07:39 -04:00
fixed friend list deltas
This commit is contained in:
@@ -376,12 +376,14 @@ public class PlayerObject extends SWGObject {
|
||||
|
||||
public void friendAdd(String friend) {
|
||||
synchronized(objectMutex) {
|
||||
setFriendListUpdateCounter(getFriendListUpdateCounter() + 1);
|
||||
getContainer().getClient().getSession().write(messageBuilder.buildFriendAddDelta(friend));
|
||||
}
|
||||
}
|
||||
|
||||
public void friendRemove(String friend) {
|
||||
synchronized(objectMutex) {
|
||||
setFriendListUpdateCounter(getFriendListUpdateCounter() + 1);
|
||||
getContainer().getClient().getSession().write(messageBuilder.buildFriendRemoveDelta(friend));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user