Don't punish this much for half researched patterns

This commit is contained in:
DBotThePony 2022-01-30 16:52:56 +07:00
parent accb0b526c
commit 05a3b4a1d2
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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
})
}