mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Remove dual ERROR in logs Author: AlexDereka
--HG-- branch : trunk
This commit is contained in:
@@ -350,7 +350,7 @@ bool Item::LoadFromDB(uint32 guid, uint64 owner_guid, QueryResult *result)
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog.outError("ERROR: Item (GUID: %u owner: %u) not found in table `item_instance`, can't load. ",guid,GUID_LOPART(owner_guid));
|
||||
sLog.outError("Item (GUID: %u owner: %u) not found in table `item_instance`, can't load. ",guid,GUID_LOPART(owner_guid));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -358,7 +358,7 @@ bool Item::LoadFromDB(uint32 guid, uint64 owner_guid, QueryResult *result)
|
||||
|
||||
if(!LoadValues(fields[0].GetString()))
|
||||
{
|
||||
sLog.outError("ERROR: Item #%d have broken data in `data` field. Can't be loaded.",guid);
|
||||
sLog.outError("Item #%d have broken data in `data` field. Can't be loaded.",guid);
|
||||
if (delete_result) delete result;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user