sk89q/commandbook — pull request #91 by TheE (2013-06-28 00:08:35+00:00)
Title: Fixed broken enchantment support for kits

Kits should have supported enchantments (and other metadata set vie the central `getItem()` method) from the beginning. However, since a new ItemStack was created whenever distributing a kit using the standard constructor, kits broke whenever new item specifications were added somewhere in this logic.

Simply cloning the item-object set by the `getItem()` method solves this mess.