mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-21 11:03:13 -04:00
Fixed a bug where you could attack yourself with placed AoE
This commit is contained in:
@@ -42,6 +42,7 @@ import network.packets.swg.zone.baselines.Baseline.BaselineType;
|
||||
import network.packets.swg.zone.object_controller.PostureUpdate;
|
||||
import resources.HologramColour;
|
||||
import resources.Posture;
|
||||
import resources.PvpFaction;
|
||||
import resources.PvpFlag;
|
||||
import resources.PvpStatus;
|
||||
import resources.Race;
|
||||
@@ -807,6 +808,9 @@ public class CreatureObject extends TangibleObject {
|
||||
}
|
||||
|
||||
return isPlayer() && ((CreatureObject) otherObject).isPlayer()
|
||||
&& getPvpFaction() != PvpFaction.NEUTRAL
|
||||
&& otherObject.getPvpFaction() != PvpFaction.NEUTRAL
|
||||
&& getPvpFaction() != otherObject.getPvpFaction()
|
||||
&& getPvpStatus() == PvpStatus.SPECIALFORCES
|
||||
&& otherObject.getPvpStatus() == PvpStatus.SPECIALFORCES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user