mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7506] Remove dual ERROR in logs
This commit is contained in:
parent
f6954b0661
commit
8a5e4706bc
18 changed files with 55 additions and 55 deletions
|
|
@ -146,7 +146,7 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool
|
|||
|
||||
if(!IsPositionValid())
|
||||
{
|
||||
sLog.outError("ERROR: Pet (guidlow %d, entry %d) not loaded. Suggested coordinates isn't valid (X: %f Y: %f)",
|
||||
sLog.outError("Pet (guidlow %d, entry %d) not loaded. Suggested coordinates isn't valid (X: %f Y: %f)",
|
||||
GetGUIDLow(), GetEntry(), GetPositionX(), GetPositionY());
|
||||
delete result;
|
||||
return false;
|
||||
|
|
@ -704,7 +704,7 @@ bool Pet::CreateBaseAtCreature(Creature* creature)
|
|||
{
|
||||
if(!creature)
|
||||
{
|
||||
sLog.outError("CRITICAL ERROR: NULL pointer parsed into CreateBaseAtCreature()");
|
||||
sLog.outError("CRITICAL: NULL pointer parsed into CreateBaseAtCreature()");
|
||||
return false;
|
||||
}
|
||||
uint32 guid=objmgr.GenerateLowGuid(HIGHGUID_PET);
|
||||
|
|
@ -721,7 +721,7 @@ bool Pet::CreateBaseAtCreature(Creature* creature)
|
|||
|
||||
if(!IsPositionValid())
|
||||
{
|
||||
sLog.outError("ERROR: Pet (guidlow %d, entry %d) not created base at creature. Suggested coordinates isn't valid (X: %f Y: %f)",
|
||||
sLog.outError("Pet (guidlow %d, entry %d) not created base at creature. Suggested coordinates isn't valid (X: %f Y: %f)",
|
||||
GetGUIDLow(), GetEntry(), GetPositionX(), GetPositionY());
|
||||
return false;
|
||||
}
|
||||
|
|
@ -729,7 +729,7 @@ bool Pet::CreateBaseAtCreature(Creature* creature)
|
|||
CreatureInfo const *cinfo = GetCreatureInfo();
|
||||
if(!cinfo)
|
||||
{
|
||||
sLog.outError("ERROR: CreateBaseAtCreature() failed, creatureInfo is missing!");
|
||||
sLog.outError("CreateBaseAtCreature() failed, creatureInfo is missing!");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -771,7 +771,7 @@ bool Pet::InitStatsForLevel(uint32 petlevel)
|
|||
Unit* owner = GetOwner();
|
||||
if(!owner)
|
||||
{
|
||||
sLog.outError("ERROR: attempt to summon pet (Entry %u) without owner! Attempt terminated.", cinfo->Entry);
|
||||
sLog.outError("attempt to summon pet (Entry %u) without owner! Attempt terminated.", cinfo->Entry);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue