Add chatcommand unregister and override API (#5076)
authorElijah Duffy <enduffy2014@outlook.com>
Fri, 20 Jan 2017 18:49:20 +0000 (10:49 -0800)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 20 Jan 2017 18:49:20 +0000 (19:49 +0100)
commitefa54f9c460239c23a2014076764d6c6830589e6
tree0bb14829ddbc8ae222c225bbcc3fbf220917d41e
parentdd282e646c42e3524bc546372c6a648e99b3c9db
Add chatcommand unregister and override API (#5076)

Introduces two functions to unregister and override chatcommands.
minetest.unregister_chatcommand("<name>") and
minetest.override_chatcommand("<name>", {<redifinition>})
builtin/game/chatcommands.lua
doc/lua_api.txt