diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt index dbb5c6cc2..064bc1cae 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt @@ -39,16 +39,7 @@ class BatteryBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Matte synchronizer.bool(false) } - val itemConfig = ConfigurableItemHandler( - input = container.handler(HandlerFilter.Dischargeable.and(HandlerFilter.OnlyIn)), - output = container.handler(HandlerFilter.OnlyOut), - frontDefault = ItemHandlerMode.INPUT_OUTPUT, - backDefault = ItemHandlerMode.INPUT_OUTPUT, - leftDefault = ItemHandlerMode.INPUT_OUTPUT, - rightDefault = ItemHandlerMode.INPUT_OUTPUT, - topDefault = ItemHandlerMode.INPUT_OUTPUT, - bottomDefault = ItemHandlerMode.INPUT_OUTPUT, - ) + val itemConfig = ConfigurableItemHandler(inputOutput = container.handler(HandlerFilter.Dischargeable)) private var currentChangeSlot = 0 private var currentDischangeSlot = 0