Merge pull request #2139 from Vexatos/redlogic-fix

Fixed RedLogic redstone input reading.
This commit is contained in:
payonel 2016-11-20 22:14:16 -08:00 committed by GitHub
commit 6b662a4f79

View File

@ -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) {