mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 03:05:30 -04:00
might server as sort of backwards compatibility, at least can't hurt. i think.
This commit is contained in:
parent
d3b96360c2
commit
980492e336
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user