made properties readonly

This commit is contained in:
Chomp
2025-06-28 12:53:21 +01:00
parent 42e79c981b
commit da5644cfa2
63 changed files with 119 additions and 102 deletions
@@ -44,7 +44,7 @@ public class FenceService(
/// </summary>
protected TraderAssort? fenceDiscountAssort;
protected HashSet<string> fenceItemUpdCompareProperties =
protected readonly HashSet<string> fenceItemUpdCompareProperties =
[
"Buff",
"Repairable",
@@ -62,7 +62,7 @@ public class FenceService(
/// </summary>
protected long nextPartialRefreshTimestamp;
protected TraderConfig traderConfig = configServer.GetConfig<TraderConfig>();
protected readonly TraderConfig traderConfig = configServer.GetConfig<TraderConfig>();
/// <summary>
/// Replace main fence assort with new assort