From 6af0affa4f5a228be99667e5c5afd720a9bd7104 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Thu, 16 May 2024 18:15:43 +0700 Subject: [PATCH] =?UTF-8?q?Fix=20profiled=20storage=20getting=20stuck=20wi?= =?UTF-8?q?th=20last=20transfer=20numbers=20in=20history=20if=20world=20is?= =?UTF-8?q?=20saved=20(and=20then=20loaded)=20before=20entire=20history=20?= =?UTF-8?q?is=20cleared=20with=20zeroes=20YuRaNnNzZZ=20=E2=80=94=20=D0=A1?= =?UTF-8?q?=D0=B5=D0=B3=D0=BE=D0=B4=D0=BD=D1=8F,=20=D0=B2=2018:10=20:wires?= =?UTF-8?q?:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/dbotthepony/mc/otm/capability/AbstractProfiledStorage.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/AbstractProfiledStorage.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/AbstractProfiledStorage.kt index f63328fb4..29aacc60d 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/AbstractProfiledStorage.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/AbstractProfiledStorage.kt @@ -126,6 +126,8 @@ abstract class AbstractProfiledStorage(val parent: P) : INBTSerializable< historyTransferInternal[i] = Decimal.deserializeNBT(it[i]) } } + + startTicking() } }