Prevent item generating exploit

This PR fixes this issue http://dev.bukkit.org/bukkit-plugins/chestshop/tickets/842-item-generating-exploit/