From 980492e3363ccfc29ebd8b49dba7f64d26cc5992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Fri, 28 Feb 2014 15:27:18 +0100 Subject: [PATCH] might server as sort of backwards compatibility, at least can't hurt. i think. --- .../java/li/cil/oc/common/tileentity/PowerConverter.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/li/cil/oc/common/tileentity/PowerConverter.scala b/src/main/java/li/cil/oc/common/tileentity/PowerConverter.scala index e72f4b024..7eea67c4b 100644 --- a/src/main/java/li/cil/oc/common/tileentity/PowerConverter.scala +++ b/src/main/java/li/cil/oc/common/tileentity/PowerConverter.scala @@ -24,7 +24,9 @@ import universalelectricity.api.energy.{IEnergyContainer, IEnergyInterface} abstract class PowerConverterBase extends TileEntity with network.Environment with IEnergyInterface with IEnergyContainer { override def node: Connector - override def canConnect(direction: ForgeDirection, source: AnyRef) = direction != null && direction != ForgeDirection.UNKNOWN + def canConnect(direction: ForgeDirection) = direction != null && direction != ForgeDirection.UNKNOWN + + override def canConnect(direction: ForgeDirection, source: AnyRef) = canConnect(direction) override def onReceiveEnergy(from: ForgeDirection, receive: Long, doReceive: Boolean) = { if (!Settings.get.ignorePower && node != null) {