Fix NPE in postCraftingStatusChange

This commit is contained in:
AlgorithmX2 2014-08-27 22:52:34 -05:00
parent 7f3a7a0ac0
commit 4f9daaad08

View file

@ -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 ) )