AutoUseTaskManager increment skill order when pet skill is disabled.

Contributed by petryxa.
This commit is contained in:
MobiusDevelopment
2022-12-21 22:33:27 +00:00
parent 94bc2a7ea4
commit bc688478fc
11 changed files with 55 additions and 0 deletions

View File

@ -307,6 +307,11 @@ public class AutoUseTaskManager
{
pet = player.getPet();
skill = pet.getKnownSkill(skillId.intValue());
if (pet.isSkillDisabled(skill))
{
player.getAutoUseSettings().incrementSkillOrder();
break SKILLS;
}
}
if (skill == null)
{