Fixed Bug: #0984 - Crash while crafting
This commit is contained in:
parent
a985d742c5
commit
7f3a7a0ac0
1 changed files with 9 additions and 1 deletions
|
@ -1071,7 +1071,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