SpoutDev/Glowstone — pull request #4 by Drayshak (2011-12-14 02:37:39+00:00)
Title: Implemented removeItems - please read description

I was thinking about how to implement removeItems and it turns out the function was all set up to be needlessly complicated (at least, as far as I can tell).

As long as the recipe is known to be correct, you need only reduce the amount of each item on the table by one (and hence, you don't have to pass it the recipe or anything). Please let me know if my thinking is wrong, but after testing it quite a lot it seems fine.

I left the function header as it was before, if you agree with this logic then I'm happy to change it unless someone else does.