From be802d16742d761b77822858cdcd42c811206a01 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sat, 22 Jul 2023 20:31:53 +0700 Subject: [PATCH] Balance furnace inputs before ticking jobs --- .../mc/otm/block/entity/tech/PoweredFurnaceBlockEntity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/PoweredFurnaceBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/PoweredFurnaceBlockEntity.kt index 7d04fe739..afcdcdaac 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/PoweredFurnaceBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/PoweredFurnaceBlockEntity.kt @@ -75,11 +75,11 @@ class PoweredFurnaceBlockEntity( private val combined = CombinedContainer(inputs) override fun tick() { - super.tick() - if (balanceInputs) { combined.balance() } + + super.tick() } override fun createMenu(containerID: Int, inventory: Inventory, ply: Player): AbstractContainerMenu {