mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-11 21:45:26 -04:00
Added condition to awareness where you can always see your child items
This commit is contained in:
+2
@@ -215,6 +215,8 @@ public class CreatureObject extends TangibleObject {
|
||||
SWGObject targetParent = target.getSuperParent();
|
||||
if (myParent != null && myParent == targetParent)
|
||||
return true;
|
||||
if (targetParent == this)
|
||||
return true;
|
||||
|
||||
if (isDifferentInstance(target))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user