Null Check Interface.

This commit is contained in:
AlgorithmX2 2014-07-12 15:50:50 -05:00
parent 4ab497aab1
commit 2e43f9b45b

View file

@ -474,7 +474,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
{
try
{
if ( getInstalledUpgrades( Upgrades.CRAFTING ) > 0 )
if ( getInstalledUpgrades( Upgrades.CRAFTING ) > 0 && itemStack != null )
{
return craftingTracker.handleCrafting( x, itemStack.getStackSize(), itemStack, d, getTile().getWorldObj(), gridProxy.getGrid(),
gridProxy.getCrafting(), mySrc );