From 7f3a7a0ac0aa6d346686ad91e6cb4daca622e950 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Wed, 27 Aug 2014 20:12:31 -0500 Subject: [PATCH] Fixed Bug: #0984 - Crash while crafting --- me/cluster/implementations/CraftingCPUCluster.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/me/cluster/implementations/CraftingCPUCluster.java b/me/cluster/implementations/CraftingCPUCluster.java index 8b2c5e1b8..67fd53fab 100644 --- a/me/cluster/implementations/CraftingCPUCluster.java +++ b/me/cluster/implementations/CraftingCPUCluster.java @@ -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)