mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-10 01:52:25 +00:00
Added 'LootRequestType::GMPeek' to Corpse::LootItem() fail criteria
This commit is contained in:
parent
509a2b30a5
commit
79229235bd
@ -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());
|
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);
|
client->QueuePacket(app);
|
||||||
SendEndLootErrorPacket(client);
|
SendEndLootErrorPacket(client);
|
||||||
// unlock corpse for others
|
// unlock corpse for others
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user