mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Pools: Added missing check in loop
--HG-- branch : trunk
This commit is contained in:
@@ -956,6 +956,8 @@ void PoolMgr::SaveQuestsToDB()
|
||||
|
||||
for (PoolGroupQuestMap::iterator itr = mPoolQuestGroups.begin(); itr != mPoolQuestGroups.end(); ++itr)
|
||||
{
|
||||
if (itr->isEmpty())
|
||||
continue;
|
||||
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_QUEST_POOL_SAVE);
|
||||
stmt->setUInt32(0, itr->GetPoolId());
|
||||
trans->Append(stmt);
|
||||
|
||||
Reference in New Issue
Block a user