[Bleeding] Return correct furnace SlotType. Fixes BUKKIT-5400

Previously, the SlotType for the 0 slot in a furnace returned CONTAINER,
when it should have returned SlotType.CRAFTING. This updates the code for
determining slot type to return the proper value.
This commit is contained in:
GJ authored and Travis Watkins committed 2014-04-18 10:01:24 -05:00
1 parent ec41228fb5
commit 9c251595d4
1 file changed
+2
@@ -82,6 +82,8 @@ public class CraftInventoryView extends InventoryView {
type = SlotType.RESULT;
} else if(slot == 1) {
type = SlotType.FUEL;
} else {
type = SlotType.CRAFTING;
}
break;
case BREWING: