Core/Misc: Add default count param to HasItemCount
This commit is contained in:
1 parent
1ff5b83657
commit
663db1cee3
18 files changed
+51
-52
No files matched your search
@@ -1778,7 +1778,7 @@ void Spell::EffectCreateItem2(SpellEffIndex effIndex)
|
||||
{
|
||||
if (item_id)
|
||||
{
|
||||
if (!player->HasItemCount(item_id, 1))
|
||||
if (!player->HasItemCount(item_id))
|
||||
return;
|
||||
|
||||
// remove reagent
|
||||
|
||||
Reference in new issue
Block a user