Cleaned up that fix

This commit is contained in:
Aidan Brady 2014-08-05 22:31:57 -04:00
parent a865a19340
commit 1896a42afa

View file

@ -288,16 +288,7 @@ public class PartUniversalCable extends PartTransmitter<EnergyNetwork> implement
@Method(modid = "CoFHAPI|energy")
public boolean canConnectEnergy(ForgeDirection from)
{
if(redstoneReactive && world().isBlockIndirectlyGettingPowered(x(), y(), z()))
{
return false;
}
testingSide = from;
boolean unblocked = tile().canReplacePart(this, this);
testingSide = null;
return unblocked;
return canReceiveEnergy(from);
}
@Override