diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterReplicator.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterReplicator.kt index 15c4f36fe..7d25a824d 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterReplicator.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterReplicator.kt @@ -133,7 +133,7 @@ class BlockEntityMatterReplicator(p_155229_: BlockPos, p_155230_: BlockState) : if (allocation.pattern != null) it["pattern"] = allocation.pattern.serializeNBT() - if ((level?.random?.nextDouble() ?: 1.0) > (allocation.pattern?.research ?: 2.0).pow(2.0)) + if ((level?.random?.nextDouble() ?: 1.0) > (allocation.pattern?.research ?: 2.0)) it["as_dust"] = true }) }