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"),