Fixed client view of player's inventory not being updated when modified through the Bukkit API
Modifying a player's inventory with the Bukkit API through CraftInventory's addItem/remove/removeItem methods does not reliable update the client's view of the player inventory. Occasionally it works by itself, but most times it does not and the client does not notice any change of his inventory, though it has been correctly changed on the server side. This change overrides these add/remove methods in the class CraftInventoryPlayer and adds a call to EntityPlayer's updateInventory method.
This bug has been haunting us for quite a while now. Always when plugins change a player's inventory we notice this. Opening a chest ingame correctly updates the clients view of the inventory, but this is/was an annoying workaround