Merge pull request #983 from yueh/fix-982
Removes creating a ItemStack with a full NBT copy
This commit is contained in:
commit
d8a3556bc3
1 changed files with 1 additions and 2 deletions
|
@ -481,8 +481,7 @@ public class CellInventory implements ICellInventory
|
||||||
if ( request == null )
|
if ( request == null )
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
ItemStack sharedItem = request.getItemStack();
|
long size = Math.min( Integer.MAX_VALUE, request.getStackSize() );
|
||||||
int size = sharedItem.stackSize;
|
|
||||||
|
|
||||||
IAEItemStack Results = null;
|
IAEItemStack Results = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue