Title: Automatic Crafting Table returns incorrect item when checking item in slot.
Version: 3.1.2
OS: Windows 7 Ultimate SP1
Java Version: 1.7.0-b147 64bit
Description of Problem:
The automatic crafting table (169:0) has an off-by-one bug where using Bukkit to get the item in a slot returns the item from the slots raw number + 1. So, where "view" is the inventory view of the workbench, view.getItem(0) it return the value from slot number 1 instead of 0.
This video shows what I am talking about. ->
The error log is some relevant debugging information from the video (since it is a bit fuzzy)
Error Messages:
N/A
Error Log:
2012-08-26 13:02:57 [iNFO] [NoItem] Inventory Click Event:
2012-08-26 13:02:57 [iNFO] [NoItem] Item: STONE
2012-08-26 13:02:57 [iNFO] [NoItem] Raw Slot: 9
2012-08-26 13:02:57 [iNFO] [NoItem] View: MOD
2012-08-26 13:02:57 [iNFO] [NoItem] Type: CHEST
2012-08-26 13:02:57 [iNFO] [NoItem] Slot: CONTAINER
2012-08-26 13:02:57 [iNFO] [NoItem] Cancelled: false
2012-08-26 13:03:36 [iNFO] [NoItem] Inventory Click Event:
2012-08-26 13:03:36 [iNFO] [NoItem] Item: IRON_INGOT
2012-08-26 13:03:36 [iNFO] [NoItem] Raw Slot: 0
2012-08-26 13:03:36 [iNFO] [NoItem] View: MOD
2012-08-26 13:03:36 [iNFO] [NoItem] Type: CHEST
2012-08-26 13:03:36 [iNFO] [NoItem] Slot: CONTAINER
2012-08-26 13:03:36 [iNFO] [NoItem] Cancelled: false