Fix NPE in postCraftingStatusChange
This commit is contained in:
parent
7f3a7a0ac0
commit
4f9daaad08
1 changed files with 3 additions and 0 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 ) )
|
||||
|
|
Loading…
Reference in a new issue