Fixed Bug: #0693 - Shutting Down (crash) when Interrupting path to crafting.
This commit is contained in:
parent
6aab1c2e35
commit
175e21782a
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue