Fixed switching between main and dual class not turning off autoskills.

Contributed by nasseka.
This commit is contained in:
MobiusDevelopment 2021-09-23 12:14:20 +00:00
parent 07db60b9f9
commit bb648e3354
6 changed files with 6 additions and 0 deletions

View File

@ -9894,6 +9894,7 @@ public class PlayerInstance extends Playable
// 9. Resend a class change animation effect to broadcast to all nearby players.
for (Skill oldSkill : getAllSkills())
{
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
removeSkill(oldSkill, false, true);
}

View File

@ -9996,6 +9996,7 @@ public class PlayerInstance extends Playable
// 9. Resend a class change animation effect to broadcast to all nearby players.
for (Skill oldSkill : getAllSkills())
{
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
removeSkill(oldSkill, false, true);
}

View File

@ -10022,6 +10022,7 @@ public class PlayerInstance extends Playable
// 9. Resend a class change animation effect to broadcast to all nearby players.
for (Skill oldSkill : getAllSkills())
{
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
removeSkill(oldSkill, false, true);
}

View File

@ -9753,6 +9753,7 @@ public class PlayerInstance extends Playable
// 9. Resend a class change animation effect to broadcast to all nearby players.
for (Skill oldSkill : getAllSkills())
{
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
removeSkill(oldSkill, false, true);
}

View File

@ -9906,6 +9906,7 @@ public class PlayerInstance extends Playable
// 9. Resend a class change animation effect to broadcast to all nearby players.
for (Skill oldSkill : getAllSkills())
{
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
removeSkill(oldSkill, false, true);
}

View File

@ -9972,6 +9972,7 @@ public class PlayerInstance extends Playable
// 9. Resend a class change animation effect to broadcast to all nearby players.
for (Skill oldSkill : getAllSkills())
{
AutoUseTaskManager.getInstance().removeAutoSkill(this, oldSkill.getId());
removeSkill(oldSkill, false, true);
}