minetest/minetest — pull request #688 by Novatux (2013-04-28 15:27:50+00:00)
Title: Add tool callback

This commit adds a tool callback, that is called instead of wearing the tool if a tool wants to use custom code when being used. It could already be done before, but would require to override a global function, which is not a good solution.