mc-server/MCServer — pull request #578 by MikeHunsinger (2014-01-23 07:57:13+00:00)
Title: Split TossItem into three separate functions

Split TossItem into TossHeldItem, TossEquippedItem, and TossPickup. Made some changes to parameters from what was listed in the issue though.

Added parameter to TossEquippedItem because functionality was added so the whole stack in the hotbar could be dropped. Code that was added to TossItem was moved into TossEquippedItem so the entire stack will be ejected.

Noticed pickups were not created in creative mode when items were dropped from the UI Window. Issue should be resolved now.

Finally, added hooks where ever the player was tossing an item, and changed the lua to be more general.