mc-server/MCServer — pull request #182 by SamJBarney (2013-09-21 15:31:55+00:00)
Title: Working spawning of items when block is destroyed.

Just something I whipped together after poking around in the source code to figure out how to do it.
Currently it doesn't take into account what game mode is currently being used. I tried wrapping it in a check for a_World->IsGameModeSurvival, but it always returned false in Survival Mode.