mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-07-13 20:00:58 -04:00
Fixed CORE-127 'Players will now show up in buildings' (for real this time)
This commit is contained in:
@@ -751,8 +751,9 @@ public abstract class SWGObject implements Serializable, Comparable<SWGObject> {
|
||||
}
|
||||
}
|
||||
|
||||
public void updateObjectAwareness(List <SWGObject> withinRange) {
|
||||
public void updateObjectAwareness(Set <SWGObject> withinRange) {
|
||||
synchronized (objectsAware) {
|
||||
withinRange.addAll(getObservers());
|
||||
Set <SWGObject> outOfRange = new HashSet<>(objectsAware);
|
||||
outOfRange.removeAll(withinRange);
|
||||
for (SWGObject o : outOfRange) {
|
||||
|
||||
Reference in New Issue
Block a user