Balance furnace inputs before ticking jobs
This commit is contained in:
parent
8f76e1455b
commit
be802d1674
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user