mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-01 16:12:53 -04:00
Increased consistency in TangibleObject.isEnemy()
This commit is contained in:
+1
-1
@@ -262,7 +262,7 @@ public class TangibleObject extends SWGObject {
|
||||
return true;
|
||||
}
|
||||
|
||||
PvpFaction ourFaction = pvpFaction;
|
||||
PvpFaction ourFaction = getPvpFaction();
|
||||
PvpFaction otherFaction = otherObject.getPvpFaction();
|
||||
|
||||
return otherFaction != PvpFaction.NEUTRAL && ourFaction != PvpFaction.NEUTRAL && ourFaction != otherFaction
|
||||
|
||||
Reference in New Issue
Block a user