Spells/Reagents

* always check all reagent fields, they are not set first to last
This commit is contained in:
Sarjuuk
2024-05-05 14:31:15 +02:00
parent 92c51237c6
commit 6b25288e2b
20 changed files with 49 additions and 43 deletions

View File

@@ -639,7 +639,7 @@ class NpcPage extends GenericPage
{
$colAddIn = null;
$extraCols = ["\$Listview.funcBox.createSimpleCol('stack', 'stack', '10%', 'stack')", '$Listview.extraCols.cost'];
if ($soldItems->hasSetFields(['condition']))
if ($soldItems->hasSetFields('condition'))
$extraCols[] = '$Listview.extraCols.condition';
$lvData = $soldItems->getListviewData(ITEMINFO_VENDOR, [Type::NPC => [$this->typeId]]);