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 a4dec5cfe..f348fdd9b 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 @@ -289,11 +289,11 @@ class BatteryBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Matte private val consumers = object : BESubscribeList(this@BatteryBankBlockEntity, ForgeCapabilities.ENERGY) { override fun test(t: Direction): Boolean { - return -blockState.facingOne == t + return blockState.facingOne == t } } - fun checkSurroundings() = consumers.update((-blockState.facingOne)::equals) + fun checkSurroundings() = consumers.update(blockState.facingOne::equals) fun tick() { if (redstoneControl.isBlockedByRedstone)