mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-15 00:07:39 -04:00
Merge remote-tracking branch 'origin/master' into Fixes2
This commit is contained in:
@@ -906,11 +906,11 @@ public class CombatService implements INetworkDispatch {
|
||||
|
||||
private boolean attemptCombat(CreatureObject attacker, TangibleObject target) {
|
||||
|
||||
if (attacker.isInStealth()) {
|
||||
attacker.setInStealth(false);
|
||||
if (attacker.isCloaked()) {
|
||||
attacker.setCloaked(false);
|
||||
|
||||
if (attacker.getPlayerObject() != null && attacker.getPlayerObject().getProfession().equals("spy_1a")) {
|
||||
attacker.setRadarVisible(true);
|
||||
attacker.setVisibleOnRadar(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user