Skip to content

Commit

Permalink
Change Item Error to match core update
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Oct 6, 2024
1 parent 661268e commit 6e125bb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions hooks/ItemHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ bool Eluna::OnUse(Player* pPlayer, Item* pItem, SpellCastTargets const& targets)

// Send equip error that shows no message
// This is a hack fix to stop spell casting visual bug when a spell is not cast on use
#if ELUNA_EXPANSION < RETAIL
pPlayer->SendEquipError(EQUIP_ERR_NONE, pItem, nullptr);
#else
pPlayer->SendEquipError(EQUIP_NONE_3, pItem, nullptr);
#endif
return false;
}

Expand Down

0 comments on commit 6e125bb

Please sign in to comment.