Items/Gearscore

* fix warning in GS calculation
This commit is contained in:
Sarjuuk
2025-10-10 19:50:35 +02:00
parent 196f60f176
commit b832fc172c

View File

@@ -1664,7 +1664,7 @@ class ItemList extends DBTypeList
$mh = $j; $mh = $j;
else if ($j['id'] == $ohItem) else if ($j['id'] == $ohItem)
$oh = $j; $oh = $j;
else if ($j['gearscore']) else if (!empty($j['gearscore']))
{ {
if ($j['slot'] == INVTYPE_RELIC) if ($j['slot'] == INVTYPE_RELIC)
$score += 20; $score += 20;