mirror of
https://github.com/noisiver/mod-junk-to-gold.git
synced 2026-01-13 00:38:33 +00:00
Updated to support new commits of AzerothCore
This commit is contained in:
@@ -7,7 +7,7 @@ class JunkToGold : public PlayerScript
|
|||||||
public:
|
public:
|
||||||
JunkToGold() : PlayerScript("JunkToGold") {}
|
JunkToGold() : PlayerScript("JunkToGold") {}
|
||||||
|
|
||||||
void OnLootItem(Player* player, Item* item, uint32 count, ObjectGuid /*lootguid*/) override
|
void OnPlayerLootItem(Player* player, Item* item, uint32 count, ObjectGuid /*lootguid*/) override
|
||||||
{
|
{
|
||||||
if (!item || !item->GetTemplate())
|
if (!item || !item->GetTemplate())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user