Core/Loot: Updated LootType enum for 9.2.7

This commit is contained in:
Shauren
2022-09-01 21:31:56 +02:00
parent 7957e2d380
commit 74dbed1d0e
5 changed files with 45 additions and 33 deletions

View File

@@ -202,7 +202,7 @@ void WorldSession::HandleOpenItemOpcode(WorldPackets::Spells::OpenItem& packet)
.WithPreparedCallback(std::bind(&WorldSession::HandleOpenWrappedItemCallback, this, item->GetPos(), item->GetGUID(), std::placeholders::_1)));
}
else
player->SendLoot(item->GetGUID(), LOOT_CORPSE);
player->SendLoot(item->GetGUID(), LOOT_ITEM);
}
void WorldSession::HandleOpenWrappedItemCallback(uint16 pos, ObjectGuid itemGuid, PreparedQueryResult result)