Fixed Network Tool crashing on null ItemStacks.
This commit is contained in:
@@ -63,7 +63,7 @@ public class AENetworkProxy implements IGridBlock
|
||||
private final String nbtName; // name
|
||||
private AEColor myColor = AEColor.TRANSPARENT;
|
||||
private NBTTagCompound data = null; // input
|
||||
private ItemStack myRepInstance;
|
||||
private ItemStack myRepInstance = ItemStack.EMPTY;
|
||||
private boolean isReady = false;
|
||||
private IGridNode node = null;
|
||||
private EnumSet<EnumFacing> validSides;
|
||||
|
||||
@@ -65,7 +65,7 @@ public class PartToggleBus extends PartBasicState
|
||||
public static final IPartModel MODELS_HAS_CHANNEL = new PartModel( MODEL_BASE, MODEL_STATUS_HAS_CHANNEL );
|
||||
|
||||
private static final int REDSTONE_FLAG = 4;
|
||||
private final AENetworkProxy outerProxy = new AENetworkProxy( this, "outer", null, true );
|
||||
private final AENetworkProxy outerProxy = new AENetworkProxy( this, "outer", ItemStack.EMPTY, true );
|
||||
private IGridConnection connection;
|
||||
private boolean hasRedstone = false;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ public class PartP2PTunnelME extends PartP2PTunnel<PartP2PTunnelME> implements I
|
||||
}
|
||||
|
||||
private final Connections connection = new Connections( this );
|
||||
private final AENetworkProxy outerProxy = new AENetworkProxy( this, "outer", null, true );
|
||||
private final AENetworkProxy outerProxy = new AENetworkProxy( this, "outer", ItemStack.EMPTY, true );
|
||||
|
||||
public PartP2PTunnelME( final ItemStack is )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user