Fix furnaces not dropping their containers in block break
This commit is contained in:
parent
964a6e17b1
commit
a70e1f30bd
@ -42,6 +42,11 @@ class PoweredFurnaceBlockEntity(
|
||||
val inputs = immutableList(2) { MatteryContainer(this::itemContainerUpdated, 1) }
|
||||
val outputs = immutableList(2) { MatteryContainer(this::itemContainerUpdated, 1) }
|
||||
|
||||
init {
|
||||
inputs.forEach { addDroppableContainer(it) }
|
||||
outputs.forEach { addDroppableContainer(it) }
|
||||
}
|
||||
|
||||
val energyConfig = ConfigurableEnergy(energy)
|
||||
val itemConfig = ConfigurableItemHandler(
|
||||
input = CombinedItemHandler(inputs.map { it.handler(HandlerFilter.OnlyIn) }),
|
||||
|
Loading…
Reference in New Issue
Block a user