diff --git a/L2BotDll/Versions/Interlude/Repositories/HeroRepository.h b/L2BotDll/Versions/Interlude/Repositories/HeroRepository.h index 6c34a80..1a1858e 100644 --- a/L2BotDll/Versions/Interlude/Repositories/HeroRepository.h +++ b/L2BotDll/Versions/Interlude/Repositories/HeroRepository.h @@ -104,7 +104,7 @@ namespace Interlude { m_Hero->AddAttacker(casted.GetAttackerId()); } - else + else if (casted.GetAttackerId() != casted.GetTargetId()) { // try to remove creature that is attacking another target from the attackers m_Hero->RemoveAttacker(casted.GetAttackerId());