mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 02:12:42 -04:00
Merge pull request #2139 from Vexatos/redlogic-fix
Fixed RedLogic redstone input reading.
This commit is contained in:
commit
6b662a4f79
@ -19,7 +19,7 @@ object ModRedLogic extends ModProxy with RedstoneProvider {
|
||||
}
|
||||
|
||||
override def computeInput(pos: BlockPosition, side: ForgeDirection): Int = {
|
||||
pos.world.get.getTileEntity(pos) match {
|
||||
pos.world.get.getTileEntity(pos.offset(side)) match {
|
||||
case emitter: IRedstoneEmitter =>
|
||||
var strength = 0
|
||||
for (i <- -1 to 5) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user