mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10711] Check localization data for existance main table entres.
Data will skipped for nonexistent entries, and reported with disabled LogFilter_DbStrictedCheck filter.
This commit is contained in:
parent
24eb9ec87a
commit
534ff29f15
8 changed files with 118 additions and 54 deletions
|
|
@ -16062,7 +16062,7 @@ void Player::_LoadItemLoot(QueryResult *result)
|
|||
if (!item)
|
||||
{
|
||||
CharacterDatabase.PExecute("DELETE FROM item_loot WHERE guid = '%u'", item_guid);
|
||||
sLog.outError("Player::_LoadItemLoot: Player %s has loot for not existed item (GUID: %u) in `item_loot`, deleted.", GetName(), item_guid );
|
||||
sLog.outError("Player::_LoadItemLoot: Player %s has loot for nonexistent item (GUID: %u) in `item_loot`, deleted.", GetName(), item_guid );
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue