Fix matter decomposer being left with debugging code

This commit is contained in:
DBotThePony 2022-01-30 16:45:02 +07:00
parent 03c04178e7
commit accb0b526c
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -205,7 +205,7 @@ class BlockEntityMatterDecomposer(pos: BlockPos, state: BlockState)
stack.count-- stack.count--
return WorkerJob(copy, matter.complexity * baselineComplexityDecomposeTicks, BASE_CONSUMPTION, CompoundTag().also { return WorkerJob(copy, matter.complexity * baselineComplexityDecomposeTicks, BASE_CONSUMPTION, CompoundTag().also {
it["to_dust"] = (level?.random?.nextDouble() ?: 1.0) <= 1.0 it["to_dust"] = (level?.random?.nextDouble() ?: 1.0) <= 0.2
it["value"] = matter.value.serializeNBT() it["value"] = matter.value.serializeNBT()
}) })
} }