GlowstoneMC/Glowkit — pull request #39 by turt2live (2014-10-20 01:29:06+00:00)
Title: Add the getSlot method to BlockDispenseEvent. Adds BUKKIT-5142

Split from GlowstoneMC/Glowkit#3
Original Bukkit PR: Bukkit/Bukkit#1022
Additional changes: None
Glowstone implementation: Not done

-----

The BlockDispenseEvent is missing a method to get the slot that an item
was dispensed from. Without this commit, there is no way to find out
which slot an item was dispensed from, preventing exact rollbacks of
changes to a dispenser. This commit fixes the issue by adding the
getSlot method to the BlockDispenseEvent.