Balance furnace inputs before ticking jobs

This commit is contained in:
DBotThePony 2023-07-22 20:31:53 +07:00
parent 8f76e1455b
commit be802d1674
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -75,11 +75,11 @@ class PoweredFurnaceBlockEntity(
private val combined = CombinedContainer(inputs) private val combined = CombinedContainer(inputs)
override fun tick() { override fun tick() {
super.tick()
if (balanceInputs) { if (balanceInputs) {
combined.balance() combined.balance()
} }
super.tick()
} }
override fun createMenu(containerID: Int, inventory: Inventory, ply: Player): AbstractContainerMenu { override fun createMenu(containerID: Int, inventory: Inventory, ply: Player): AbstractContainerMenu {