mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 04:11:30 +00:00
Convert OPGMTrainSkill mlogs
This commit is contained in:
parent
b0412101b0
commit
483086dc3a
@ -1723,12 +1723,12 @@ void Client::OPGMTrainSkill(const EQApplicationPacket *app)
|
|||||||
SkillUseTypes skill = (SkillUseTypes) gmskill->skill_id;
|
SkillUseTypes skill = (SkillUseTypes) gmskill->skill_id;
|
||||||
|
|
||||||
if(!CanHaveSkill(skill)) {
|
if(!CanHaveSkill(skill)) {
|
||||||
mlog(CLIENT__ERROR, "Tried to train skill %d, which is not allowed.", skill);
|
logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Skills, "Tried to train skill %d, which is not allowed.", skill);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(MaxSkill(skill) == 0) {
|
if(MaxSkill(skill) == 0) {
|
||||||
mlog(CLIENT__ERROR, "Tried to train skill %d, but training is not allowed at this level.", skill);
|
logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Skills, "Tried to train skill %d, but training is not allowed at this level.", skill);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user