Fix NPE in postCraftingStatusChange
This commit is contained in:
@@ -276,6 +276,9 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
|||||||
|
|
||||||
public void postCraftingStatusChange(IAEItemStack diff)
|
public void postCraftingStatusChange(IAEItemStack diff)
|
||||||
{
|
{
|
||||||
|
if ( getGrid() == null )
|
||||||
|
return;
|
||||||
|
|
||||||
CraftingGridCache sg = getGrid().getCache( ICraftingGrid.class );
|
CraftingGridCache sg = getGrid().getCache( ICraftingGrid.class );
|
||||||
|
|
||||||
if ( sg.interestManager.containsKey( diff ) )
|
if ( sg.interestManager.containsKey( diff ) )
|
||||||
|
|||||||
Reference in New Issue
Block a user