Fix matter decomposer being left with debugging code
This commit is contained in:
parent
03c04178e7
commit
accb0b526c
@ -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()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user