daym
This commit is contained in:
parent
b8b83bde32
commit
e35a3aaf80
@ -289,11 +289,11 @@ class BatteryBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Matte
|
||||
|
||||
private val consumers = object : BESubscribeList<IEnergyStorage>(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)
|
||||
|
Loading…
Reference in New Issue
Block a user