Skip to content

Commit

Permalink
Spell: Fix typo preventing healthstone create
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Apr 6, 2024
1 parent 27c74ff commit 107e480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/Scripts/Scripting/ClassScripts/Warlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ struct CreateHealthStoneWarlock : public SpellScript

uint32 GetUsableHealthStoneItemType(Unit* target, SpellEntry const* spellInfo) const
{
if (!target || target->IsPlayer())
if (!target || !target->IsPlayer())
return 0;

uint32 itemtype = 0;
Expand Down

0 comments on commit 107e480

Please sign in to comment.