Inscriber Recipe Handler, + Fixed Potential ME Chest Crash.
This commit is contained in:
@@ -105,10 +105,13 @@ public class Inscribe implements ICraftHandler, IWebsiteSeralizer
|
||||
|
||||
o += h.getName( output ) + "\n";
|
||||
|
||||
if ( plateB != null )
|
||||
o += h.getName( plateB ) + "\n";
|
||||
if ( plateA != null )
|
||||
o += h.getName( plateA )+"\n";
|
||||
|
||||
o += h.getName( plateA );
|
||||
o += h.getName(imprintable);
|
||||
|
||||
if ( plateB != null )
|
||||
o += "\n"+h.getName( plateB );
|
||||
|
||||
return o;
|
||||
}
|
||||
|
||||
@@ -356,12 +356,16 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
|
||||
{
|
||||
if ( !isCached )
|
||||
{
|
||||
icell = null;
|
||||
fcell = null;
|
||||
|
||||
ItemStack is = inv.getStackInSlot( 1 );
|
||||
if ( is != null )
|
||||
{
|
||||
isCached = true;
|
||||
cellHandler = AEApi.instance().registries().cell().getHander( is );
|
||||
|
||||
if ( cellHandler != null )
|
||||
{
|
||||
double power = 1.0;
|
||||
|
||||
IMEInventoryHandler<IAEItemStack> itemCell = cellHandler.getCellInventory( is, StorageChannel.ITEMS );
|
||||
@@ -378,6 +382,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
|
||||
fcell = wrap( fluidCell );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch (channel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user