mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-18 08:02:56 -04:00
Fixed chat bug where spatial chat doesn't work on two clients
This commit is contained in:
@@ -180,8 +180,7 @@ public class ChatService extends Service {
|
||||
for (Player observer : actor.getObservers()) {
|
||||
if (observer.getCreatureObject() == null)
|
||||
continue;
|
||||
message.setObjectId(observer.getCreatureObject().getObjectId());
|
||||
observer.sendPacket(message);
|
||||
observer.sendPacket(new SpatialChat(observer.getCreatureObject().getObjectId(), message));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user