From 736da72ca7d62c47e288cdb15616a4492cb8d12c Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Tue, 25 Feb 2025 19:56:58 +0700 Subject: [PATCH] Invalidate remotes on chart being deserialized --- .../ru/dbotthepony/mc/otm/core/chart/AbstractHistoryChart.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/core/chart/AbstractHistoryChart.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/core/chart/AbstractHistoryChart.kt index 65a515e12..144a4370f 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/core/chart/AbstractHistoryChart.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/core/chart/AbstractHistoryChart.kt @@ -177,6 +177,7 @@ abstract class AbstractHistoryChart( this.accumulator.addAll(accumulator) this.values.addAll(values) + this.remotes.forEach { it.invalidate() } } fun clear() {