From b832fc172c3254545cee3a50d138a816e58c8916 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Fri, 10 Oct 2025 19:50:35 +0200 Subject: [PATCH] Items/Gearscore * fix warning in GS calculation --- includes/dbtypes/item.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/dbtypes/item.class.php b/includes/dbtypes/item.class.php index 595c468a..881bd40f 100644 --- a/includes/dbtypes/item.class.php +++ b/includes/dbtypes/item.class.php @@ -1664,7 +1664,7 @@ class ItemList extends DBTypeList $mh = $j; else if ($j['id'] == $ohItem) $oh = $j; - else if ($j['gearscore']) + else if (!empty($j['gearscore'])) { if ($j['slot'] == INVTYPE_RELIC) $score += 20;