From accb0b526cfc64a013689082e4ce4bc1ff38288d Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 30 Jan 2022 16:45:02 +0700 Subject: [PATCH] Fix matter decomposer being left with debugging code --- .../mc/otm/block/entity/BlockEntityMatterDecomposer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterDecomposer.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterDecomposer.kt index 17c65f627..e91aaad0d 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterDecomposer.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/BlockEntityMatterDecomposer.kt @@ -205,7 +205,7 @@ class BlockEntityMatterDecomposer(pos: BlockPos, state: BlockState) stack.count-- 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() }) }