mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Scripts/Events: Fixed memory leak in npc_bountiful_table added in 75df296bb6
This commit is contained in:
@@ -2906,7 +2906,7 @@ class CastFoodSpell : public BasicEvent
|
||||
bool Execute(uint64 /*execTime*/, uint32 /*diff*/) override
|
||||
{
|
||||
_owner->CastSpell(_owner, _spellId, true);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user