Fixed an NPE

This commit is contained in:
AlgorithmX2
2014-08-02 18:09:50 -05:00
parent 476d9a478a
commit a936bb7404
+1 -1
View File
@@ -119,7 +119,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn
ItemEncodedPattern iep = (ItemEncodedPattern) is.getItem();
ICraftingPatternDetails ph = iep.getPatternForItem( is, w );
if ( ph.isCraftable() )
if ( ph != null && ph.isCraftable() )
{
progress = 0;
myPattern = is;