Mob.java cleanup

This commit is contained in:
2023-04-23 20:16:30 -05:00
parent 4462e34ca4
commit 2df4f658c9
4 changed files with 10 additions and 44 deletions
@@ -30,7 +30,7 @@ public class ClearAggroPowerAction extends AbstractPowerAction {
@Override
protected void _startAction(AbstractCharacter source, AbstractWorldObject awo, Vector3fImmutable targetLoc, int trains, ActionsBase ab, PowersBase pb) {
if (awo != null && awo.getObjectType() == GameObjectType.Mob){
((Mob)awo).setNoAggro(true);
((Mob)awo).setCombatTarget(null);
}