From 71fc2d1b5cba2326716e0f4ab0c93c322242ff91 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Thu, 18 Sep 2014 11:30:59 -0500 Subject: [PATCH] Fixed Incomplete Null Check for MEMonitorIInventory --- me/storage/MEMonitorIInventory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/me/storage/MEMonitorIInventory.java b/me/storage/MEMonitorIInventory.java index 981738eb..979025cb 100644 --- a/me/storage/MEMonitorIInventory.java +++ b/me/storage/MEMonitorIInventory.java @@ -229,7 +229,7 @@ public class MEMonitorIInventory implements IMEInventory, IMEMonit { for (CachedItemStack cis : end.values()) { - if ( cis != null ) + if ( cis != null && cis.aeStack != null ) { IAEItemStack a = cis.aeStack.copy(); a.setStackSize( -a.getStackSize() );