i had enough of CMEs out of nowhere

because there is no way there should be one
This commit is contained in:
DBotThePony 2023-08-03 20:11:32 +07:00
parent 0073f41be6
commit cbb79c89b6
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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<out P>(val parent: P) : INBTSerializable<
companion object {
const val HISTORY_SIZE = 20
private val storages = ArrayList<WeakReference<AbstractProfiledStorage<*>>>()
private val storages = ObjectArrayList<WeakReference<AbstractProfiledStorage<*>>>()
val HISTORY_WEIGHTERS: ImmutableList<Decimal> = ImmutableList.of(
Decimal("0.313335967"),