mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-07 21:03:35 +00:00
Convert OPGMTrainSkill mlogs
This commit is contained in:
1 parent
b0412101b0
commit
483086dc3a
1 file changed
+2
-2
@@ -1723,12 +1723,12 @@ void Client::OPGMTrainSkill(const EQApplicationPacket *app)
|
||||
SkillUseTypes skill = (SkillUseTypes) gmskill->skill_id;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user