From fdd63cd7169c36ab2d031bbc615d86679ad267fc Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sat, 28 Jun 2014 18:31:49 +0300 Subject: [PATCH] Eluna fix classic and TBC return false for item use --- HookMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HookMgr.cpp b/HookMgr.cpp index 84b8937..8cd195f 100644 --- a/HookMgr.cpp +++ b/HookMgr.cpp @@ -416,7 +416,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 WorldPacket data(SMSG_INVENTORY_CHANGE_FAILURE, 18); - data << uint8(83); + data << uint8(59); // EQUIP_ERR_NONE / EQUIP_ERR_CANT_BE_DISENCHANTED data << ObjectGuid(guid); data << ObjectGuid(uint64(0)); data << uint8(0);