Fixed Incomplete Null Check for MEMonitorIInventory

This commit is contained in:
AlgorithmX2
2014-09-18 11:30:59 -05:00
parent 2913d71acd
commit 71fc2d1b5c
+1 -1
View File
@@ -229,7 +229,7 @@ public class MEMonitorIInventory implements IMEInventory<IAEItemStack>, IMEMonit
{ {
for (CachedItemStack cis : end.values()) for (CachedItemStack cis : end.values())
{ {
if ( cis != null ) if ( cis != null && cis.aeStack != null )
{ {
IAEItemStack a = cis.aeStack.copy(); IAEItemStack a = cis.aeStack.copy();
a.setStackSize( -a.getStackSize() ); a.setStackSize( -a.getStackSize() );