File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2636,11 +2636,10 @@ public List<ShopItem> GetShopItems(string map, int shopID)
26362636 ShopItem ? byId = shopItems . FirstOrDefault ( x => x . ShopItemID == shopItemID ) ;
26372637 if ( byId != null )
26382638 return byId ;
2639+ else
2640+ Logger ( $ "Item with ShopItemID { shopItemID } not found in shop { shopID } . Using \" { itemNameID } \" string as backup method") ;
26392641
26402642 }
2641- else
2642- Logger ( $ "Item with ShopItemID { shopItemID } not found in shop { shopID } . Using \" { itemNameID } \" string as backup method") ;
2643-
26442643
26452644 List < ShopItem > matches = shopItems
26462645 . Where ( x => x . Name . Equals ( itemNameID , StringComparison . OrdinalIgnoreCase ) )
@@ -2678,8 +2677,8 @@ public List<ShopItem> GetShopItems(string map, int shopID)
26782677 ShopItem ? bySID = shopItems . FirstOrDefault ( x => x . ShopItemID == shopItemID ) ;
26792678 if ( bySID != null )
26802679 return bySID ;
2681-
2682- Logger ( $ "ShopItemID { shopItemID } not found in shop { shopID } . Falling back to ItemID...") ;
2680+ else
2681+ Logger ( $ "ShopItemID { shopItemID } not found in shop { shopID } . Falling back to ItemID...") ;
26832682 }
26842683
26852684 // 2️⃣ Fallback to ItemID
You can’t perform that action at this time.
0 commit comments