Make sure crafting spells with non-random loot are not allowed to be casted if inventory is full. Fixes issue #2791
--HG-- branch : trunk
This commit is contained in:
@@ -6196,6 +6196,7 @@ SpellCastResult Spell::CheckItems()
|
|||||||
switch (m_spellInfo->Effect[i])
|
switch (m_spellInfo->Effect[i])
|
||||||
{
|
{
|
||||||
case SPELL_EFFECT_CREATE_ITEM:
|
case SPELL_EFFECT_CREATE_ITEM:
|
||||||
|
case SPELL_EFFECT_CREATE_ITEM_2:
|
||||||
{
|
{
|
||||||
if (!m_IsTriggeredSpell && m_spellInfo->EffectItemType[i])
|
if (!m_IsTriggeredSpell && m_spellInfo->EffectItemType[i])
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user