i had enough of CMEs out of nowhere
because there is no way there should be one
This commit is contained in:
parent
0073f41be6
commit
cbb79c89b6
@ -1,6 +1,7 @@
|
|||||||
package ru.dbotthepony.mc.otm.capability
|
package ru.dbotthepony.mc.otm.capability
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList
|
import com.google.common.collect.ImmutableList
|
||||||
|
import it.unimi.dsi.fastutil.objects.ObjectArrayList
|
||||||
import net.minecraft.nbt.CompoundTag
|
import net.minecraft.nbt.CompoundTag
|
||||||
import net.minecraft.nbt.ListTag
|
import net.minecraft.nbt.ListTag
|
||||||
import net.minecraft.nbt.NumericTag
|
import net.minecraft.nbt.NumericTag
|
||||||
@ -154,7 +155,7 @@ abstract class AbstractProfiledStorage<out P>(val parent: P) : INBTSerializable<
|
|||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val HISTORY_SIZE = 20
|
const val HISTORY_SIZE = 20
|
||||||
private val storages = ArrayList<WeakReference<AbstractProfiledStorage<*>>>()
|
private val storages = ObjectArrayList<WeakReference<AbstractProfiledStorage<*>>>()
|
||||||
|
|
||||||
val HISTORY_WEIGHTERS: ImmutableList<Decimal> = ImmutableList.of(
|
val HISTORY_WEIGHTERS: ImmutableList<Decimal> = ImmutableList.of(
|
||||||
Decimal("0.313335967"),
|
Decimal("0.313335967"),
|
||||||
|
Loading…
Reference in New Issue
Block a user