Minor fix for decrease skill level.

Contributed by facab.
This commit is contained in:
MobiusDev
2018-04-10 15:14:11 +00:00
parent 64568be9f5
commit d464c9bbe7
7 changed files with 35 additions and 7 deletions

View File

@ -2497,7 +2497,11 @@ public final class L2PcInstance extends L2Playable
giveAvailableAutoGetSkills();
}
checkPlayerSkills();
if (Config.DECREASE_SKILL_LEVEL && !canOverrideCond(PcCondOverride.SKILL_CONDITIONS))
{
checkPlayerSkills();
}
checkItemRestriction();
sendSkillList();
}