Fix profiled storage getting stuck with last transfer numbers in history if world is saved (and then loaded) before entire history is cleared with zeroes

YuRaNnNzZZ — Сегодня, в 18:10
:wires:
This commit is contained in:
DBotThePony 2024-05-16 18:15:43 +07:00
parent 7b2d9b1bf4
commit 6af0affa4f
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -126,6 +126,8 @@ abstract class AbstractProfiledStorage<out P>(val parent: P) : INBTSerializable<
historyTransferInternal[i] = Decimal.deserializeNBT(it[i])
}
}
startTicking()
}
}