Fixed an issue with awareness with one character inside a building, the other outside

This commit is contained in:
Obique PSWG
2015-07-24 18:41:05 -05:00
parent c5d6b60320
commit ed180b35ca
+1 -1
View File
@@ -634,7 +634,7 @@ public abstract class SWGObject implements Serializable, Comparable<SWGObject> {
synchronized (objectsAware) {
for (SWGObject obj : objectsAware) {
Player p = obj.getOwner();
if (isValidPlayer(p))
if (childObject.isValidPlayer(p))
observers.add(obj);
else
childObject.getChildrenObservers(observers, obj);