mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
command setskill range allow 0
This commit is contained in:
@@ -1871,7 +1871,7 @@ public:
|
||||
// the max level of the new profession.
|
||||
uint16 max = maxPureSkill ? *maxPureSkill : targetHasSkill ? target->GetPureMaxSkillValue(skillID) : uint16(level);
|
||||
|
||||
if (level <= 0 || level > max || max <= 0)
|
||||
if (level < 0 || level > max || max < 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user