mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-17 07:02:54 -04:00
Fixed awareness for GroupObject
This commit is contained in:
@@ -90,7 +90,7 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
|
||||
|
||||
groupMembers.sendDeltaMessage(this);
|
||||
|
||||
awarenessInRange(object, true);
|
||||
addCustomAware(object);
|
||||
object.setGroupId(getObjectId());
|
||||
|
||||
if (object.getLevel() > level)
|
||||
@@ -110,7 +110,7 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
|
||||
|
||||
public void updateMember(CreatureObject object) {
|
||||
if (groupMembers.contains(new GroupMember(object.getObjectId(), object.getName())))
|
||||
awarenessInRange(object, true);
|
||||
addCustomAware(object);
|
||||
else awarenessOutOfRange(object, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user