Bukkit/CraftBukkit — pull request #799 by Acrobot (2012-06-17 18:52:07+00:00)
Title: Fixed Inventory add/removeItem methods [Fixes BUKKIT-876]

The methods no longer overwrite their arguments, they should be more efficent too.

Associated JIRA ticket:
https://bukkit.atlassian.net/browse/BUKKIT-876