Fixed taking items out of the AE system

Same issue as last commit. ItemStacks with a count of 0 get "nullified".
This commit is contained in:
Gunther De Wachter 2017-06-24 16:45:28 +02:00
parent d77d21858e
commit 1a4db4b8d7

View file

@ -231,9 +231,9 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
i.setString( "id", resourcelocation == null ? "minecraft:air" : resourcelocation.toString() );
/*
* if ( Count != null && Count instanceof NBTTagByte ) ((NBTTagByte) Count).data = (byte) 0; else
* if ( Count != null && Count instanceof NBTTagByte ) ((NBTTagByte) Count).data = (byte) 1; else
*/
i.setByte( "Count", (byte) 0 );
i.setByte( "Count", (byte) 1 );
/*
* if ( Cnt != null && Cnt instanceof NBTTagLong ) ((NBTTagLong) Cnt).data = this.stackSize; else