Merge branch 'rv1' of https://bitbucket.org/AlgorithmX2/appliedenergistics2 into rv2
This commit is contained in:
commit
d2f2316adb
1 changed files with 12 additions and 1 deletions
|
@ -276,6 +276,9 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
|||
|
||||
public void postCraftingStatusChange(IAEItemStack diff)
|
||||
{
|
||||
if ( getGrid() == null )
|
||||
return;
|
||||
|
||||
CraftingGridCache sg = getGrid().getCache( ICraftingGrid.class );
|
||||
|
||||
if ( sg.interestManager.containsKey( diff ) )
|
||||
|
@ -1071,7 +1074,15 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
|||
|
||||
public boolean isActive()
|
||||
{
|
||||
return getCore().getActionableNode().isActive();
|
||||
TileCraftingTile core = getCore();
|
||||
if ( core == null )
|
||||
return false;
|
||||
|
||||
IGridNode node = core.getActionableNode();
|
||||
if ( node == null )
|
||||
return false;
|
||||
|
||||
return node.isActive();
|
||||
}
|
||||
|
||||
public boolean isMaking(IAEItemStack what)
|
||||
|
|
Loading…
Add table
Reference in a new issue