Fixed Incomplete Null Check for MEMonitorIInventory
This commit is contained in:
@@ -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() );
|
||||||
|
|||||||
Reference in New Issue
Block a user