From 0f7718dcb074a9e8e8d92757e9b67950c8cc67c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Sun, 5 Jan 2014 18:18:14 +0100 Subject: [PATCH] fixed side of redstone_changed event not being translated to computer case's local side, closes #60 --- li/cil/oc/common/tileentity/Computer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/li/cil/oc/common/tileentity/Computer.scala b/li/cil/oc/common/tileentity/Computer.scala index bba3f3f8f..927213997 100644 --- a/li/cil/oc/common/tileentity/Computer.scala +++ b/li/cil/oc/common/tileentity/Computer.scala @@ -155,7 +155,7 @@ abstract class Computer(isRemote: Boolean) extends Environment with ComponentInv override protected def onRedstoneInputChanged(side: ForgeDirection) { super.onRedstoneInputChanged(side) - computer.signal("redstone_changed", computer.address, Int.box(side.ordinal())) + computer.signal("redstone_changed", computer.address, Int.box(toLocal(side).ordinal())) } // ----------------------------------------------------------------------- //