Fixed Bug: #0693 - Shutting Down (crash) when Interrupting path to crafting.
This commit is contained in:
@@ -19,7 +19,7 @@ public class ItemListIgnoreCrafting<T extends IAEStack> implements IItemList<T>
|
|||||||
@Override
|
@Override
|
||||||
public void add(T option)
|
public void add(T option)
|
||||||
{
|
{
|
||||||
if ( option.isCraftable() )
|
if ( option != null && option.isCraftable() )
|
||||||
{
|
{
|
||||||
option = (T) option.copy();
|
option = (T) option.copy();
|
||||||
option.setCraftable( false );
|
option.setCraftable( false );
|
||||||
|
|||||||
Reference in New Issue
Block a user