diff --git a/src/server/scripts/World/item_scripts.cpp b/src/server/scripts/World/item_scripts.cpp index c01767c2d3..6a0be8f5da 100644 --- a/src/server/scripts/World/item_scripts.cpp +++ b/src/server/scripts/World/item_scripts.cpp @@ -52,18 +52,25 @@ public: if (player->GetZoneId() != AREA_ISLE_OF_QUEL_DANAS) disabled = true; break; - case 34475: - if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(SPELL_ARCANE_CHARGES)) - Spell::SendCastResult(player, spellInfo, 1, SPELL_FAILED_NOT_ON_GROUND); - break; } // allow use in flight only - if (player->IsInFlight() && !disabled) - return false; + if (player->IsInFlight()) + { + if (!disabled) + return false; + } + else // error + { + if (itemId == 34475) + { + if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(SPELL_ARCANE_CHARGES)) + Spell::SendCastResult(player, spellInfo, 1, SPELL_FAILED_NOT_ON_GROUND); + } + else + player->SendEquipError(EQUIP_ERR_CANT_DO_RIGHT_NOW, item, nullptr); + } - // error - player->SendEquipError(EQUIP_ERR_CANT_DO_RIGHT_NOW, item, nullptr); return true; } };