Updated to support new commits of AzerothCore

This commit is contained in:
Revision
2025-02-22 16:11:32 +01:00
parent 5aa77a8dcc
commit 2134690bb0

View File

@@ -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())
{ {