SpoutDev/SpoutAPI — pull request #301 by bergerkiller (2012-07-24 11:12:16+00:00)
Title: Changed Inventory viewer concept

UpdateAll is way too confusing, especially because ranges/slots can also update all items...but that wouldn't result in an ItemStack[] result. Just to keep things simple, there is only an onSlotSet. The synchronizer no longer handles item updating, that is truly part of the Window where these items are displayed. To keep things closer to the roots, these are now in the Vanilla Window.

Also added onSlotSet to listen for item changes. I will use this for the moving of the crafting logic to the inventory later on, so I don't have to listen 'myself'.

Signed-off-by: Irmo van den Berge