Merge pull request #983 from yueh/fix-982

Removes creating a ItemStack with a full NBT copy
This commit is contained in:
yueh 2015-03-07 16:35:56 +01:00
commit d8a3556bc3

View file

@ -481,8 +481,7 @@ public class CellInventory implements ICellInventory
if ( request == null )
return null;
ItemStack sharedItem = request.getItemStack();
int size = sharedItem.stackSize;
long size = Math.min( Integer.MAX_VALUE, request.getStackSize() );
IAEItemStack Results = null;