Reset monster casting back to false.

Contributed by Sahar.
This commit is contained in:
MobiusDev
2018-05-08 14:09:19 +00:00
parent 374fb0c808
commit e05d0a1a14
7 changed files with 8 additions and 0 deletions

View File

@ -247,6 +247,7 @@ public class L2MonsterInstance extends L2Attackable
// Might need some exceptions here, but it will prevent the monster buffing player bug.
if (!skill.isBad() && (getTarget() != null) && getTarget().isPlayer())
{
abortCast();
return;
}
super.doCast(skill, item, ctrlPressed, shiftPressed);