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:
parent
d77d21858e
commit
1a4db4b8d7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue