improve error message

This commit is contained in:
ForesterDev
2016-05-17 13:46:13 +04:00
parent d5dd8e8926
commit 8eac30448f

View File

@@ -72,7 +72,7 @@ public:
// Creatures with family CREATURE_FAMILY_NONE crashes the server
if (creatureTemplate->family == CREATURE_FAMILY_NONE)
{
handler->PSendSysMessage("This creature cannot be tamed. (family id: CREATURE_FAMILY_NONE).");
handler->PSendSysMessage("This creature cannot be tamed. Family id: 0 (CREATURE_FAMILY_NONE).");
handler->SetSentErrorMessage(true);
return false;
}