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:
@@ -164,7 +164,7 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
|
|||||||
short itemNumericId = data.readShort();
|
short itemNumericId = data.readShort();
|
||||||
d.setString( "id", String.valueOf( itemNumericId ) );
|
d.setString( "id", String.valueOf( itemNumericId ) );
|
||||||
d.setShort( "Damage", data.readShort() );
|
d.setShort( "Damage", data.readShort() );
|
||||||
d.setByte( "Count", (byte) 0 );
|
d.setByte( "Count", (byte) 1 );
|
||||||
|
|
||||||
if( hasTagCompound )
|
if( hasTagCompound )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user