mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
improve error message
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user