Fixed drawing of items in storage.

An ItemStack count of 0 trips the check for isEmpty and hence doesn't give us the item we want.
This commit is contained in:
Gunther De Wachter
2017-06-24 15:01:06 +02:00
parent c6bdf845a8
commit 42bfc549be
@@ -164,7 +164,7 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
short itemNumericId = data.readShort();
d.setString( "id", String.valueOf( itemNumericId ) );
d.setShort( "Damage", data.readShort() );
d.setByte( "Count", (byte) 0 );
d.setByte( "Count", (byte) 1 );
if( hasTagCompound )
{