Do not log nonexistent skill if id equals zero.

This commit is contained in:
MobiusDev
2018-03-26 20:49:51 +00:00
parent 2b22f885fb
commit c2fd26f718
7 changed files with 28 additions and 7 deletions

View File

@ -62,7 +62,10 @@ public final class RequestMagicSkillUse implements IClientIncomingPacket
else
{
activeChar.sendPacket(ActionFailed.STATIC_PACKET);
_log.warning("Skill Id " + _magicId + " not found in player!");
if (_magicId > 0)
{
_log.warning("Skill Id " + _magicId + " not found in player: " + activeChar);
}
return;
}
}