Added 'LootRequestType::GMPeek' to Corpse::LootItem() fail criteria

This commit is contained in:
Uleat 2018-08-18 08:10:44 -04:00
parent 509a2b30a5
commit 79229235bd

View File

@ -1106,7 +1106,7 @@ void Corpse::LootItem(Client *client, const EQApplicationPacket *app)
Log(Logs::Moderate, Logs::Inventory, "LootItem() LootRequestType %u, Slot %u for %s", loot_request_type, lootitem->slot_id, client->GetName());
if (loot_request_type == LootRequestType::Forbidden) {
if (loot_request_type < LootRequestType::GMAllowed) { // LootRequestType::Forbidden and LootRequestType::GMPeek
client->QueuePacket(app);
SendEndLootErrorPacket(client);
// unlock corpse for others