From cbb79c89b6c5c9097313ef3c0f21d5511b87b551 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Thu, 3 Aug 2023 20:11:32 +0700 Subject: [PATCH] i had enough of CMEs out of nowhere because there is no way there should be one --- .../dbotthepony/mc/otm/capability/AbstractProfiledStorage.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 f1c86aa18..3d484f6d0 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/AbstractProfiledStorage.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/AbstractProfiledStorage.kt @@ -1,6 +1,7 @@ package ru.dbotthepony.mc.otm.capability import com.google.common.collect.ImmutableList +import it.unimi.dsi.fastutil.objects.ObjectArrayList import net.minecraft.nbt.CompoundTag import net.minecraft.nbt.ListTag import net.minecraft.nbt.NumericTag @@ -154,7 +155,7 @@ abstract class AbstractProfiledStorage(val parent: P) : INBTSerializable< companion object { const val HISTORY_SIZE = 20 - private val storages = ArrayList>>() + private val storages = ObjectArrayList>>() val HISTORY_WEIGHTERS: ImmutableList = ImmutableList.of( Decimal("0.313335967"),