@@ -84,7 +84,7 @@ Enum representing item definition keys.
8484Record responsible for holding item price data.
8585*)
8686 TItemPriceData = record
87- high, highTime, low, lowTime : Integer;
87+ High, HighTime, Low, LowTime : Integer;
8888 end;
8989
9090procedure TItemData.UpdateFile();
@@ -263,10 +263,10 @@ begin
263263 if Self.Disabled then Exit;
264264 if not Self.PricesJSON.Item[0].GetObject(id, json) then Exit;
265265
266- Result.high := json.Item['high'].AsInt;
267- Result.highTime := json.Item['highTime'].AsInt;
268- Result.low := json.Item['low'].AsInt;
269- Result.lowTime := json.Item['lowTime'].AsInt;
266+ Result.High := json.Item['high'].AsInt;
267+ Result.HighTime := json.Item['highTime'].AsInt;
268+ Result.Low := json.Item['low'].AsInt;
269+ Result.LowTime := json.Item['lowTime'].AsInt;
270270end;
271271
272272(*
@@ -285,7 +285,10 @@ function TItemData.GetPrice(item: TRSItem): Integer;
285285var
286286 priceData: TItemPriceData;
287287begin
288- if item.SimplifyName().Equals('coins', False) then Exit(1);
288+ case item of
289+ 'coins', 'Coins', '995', '996', '997', '998',
290+ '999', '1000', '1001', '1002', '1003', '1004': Exit(1);
291+ end;
289292
290293 priceData := Self.GetPriceData(item);
291294
0 commit comments