Stop effects for all attackables.

Contributed by Iris.
This commit is contained in:
MobiusDevelopment
2021-04-18 19:09:50 +00:00
parent a9d81a5b17
commit a7b1b8cf48
21 changed files with 21 additions and 21 deletions

View File

@ -1679,7 +1679,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
// Stop HP/MP/CP Regeneration task
_status.stopHpMpRegeneration();
if (isMonster())
if (isAttackable())
{
final Spawn spawn = ((Npc) this).getSpawn();
if ((spawn != null) && spawn.isRespawnEnabled())