mirror of
https://github.com/noisiver/mod-junk-to-gold
synced 2025-11-29 16:18:15 +08:00
Fix test
This commit is contained in:
@@ -9,6 +9,11 @@ public:
|
||||
|
||||
void OnLootItem(Player* player, Item* item, uint32 count, ObjectGuid /*lootguid*/) override
|
||||
{
|
||||
if (!item)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (item->GetTemplate()->Quality == ITEM_QUALITY_POOR)
|
||||
{
|
||||
SendTransactionInformation(player, item, count);
|
||||
|
||||
Reference in New Issue
Block a user