Cleaned up that fix
This commit is contained in:
parent
a865a19340
commit
1896a42afa
1 changed files with 1 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue