Fixed Bug: #0693 - Shutting Down (crash) when Interrupting path to crafting.

This commit is contained in:
AlgorithmX2 2014-07-23 09:22:39 -05:00
parent 6aab1c2e35
commit 175e21782a

View file

@ -19,7 +19,7 @@ public class ItemListIgnoreCrafting<T extends IAEStack> implements IItemList<T>
@Override
public void add(T option)
{
if ( option.isCraftable() )
if ( option != null && option.isCraftable() )
{
option = (T) option.copy();
option.setCraftable( false );