mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
*Remove log spams when ghoul is summoned.
--HG-- branch : trunk
This commit is contained in:
@@ -227,7 +227,9 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool
|
||||
setPowerType(POWER_FOCUS);
|
||||
break;
|
||||
default:
|
||||
sLog.outError("Pet have incorrect type (%u) for pet loading.", getPetType());
|
||||
if(!IsPetGhoul())
|
||||
sLog.outError("Pet have incorrect type (%u) for pet loading.", getPetType());
|
||||
break;
|
||||
}
|
||||
|
||||
SetUInt32Value(UNIT_FIELD_PET_NAME_TIMESTAMP, time(NULL));
|
||||
|
||||
Reference in New Issue
Block a user