Darn it Power tunnels need power too!

This commit is contained in:
AlgorithmX2 2014-05-18 21:36:21 -05:00
parent 2ee583cf8e
commit 37d7675ad7

View file

@ -1,5 +1,6 @@
package appeng.parts.p2p;
import java.util.ArrayList;
import java.util.Collection;
import net.minecraft.client.renderer.RenderBlocks;
@ -265,7 +266,9 @@ public class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicState
public TunnelCollection<T> getOutputs() throws GridAccessException
{
return (TunnelCollection<T>) proxy.getP2P().getOutputs( freq, getClass() );
if ( proxy.isActive() )
return (TunnelCollection<T>) proxy.getP2P().getOutputs( freq, getClass() );
return new TunnelCollection( new ArrayList(), getClass() );
}
public void onChange()