diff options
author | Perttu Ahola <celeron55@gmail.com> | 2013-08-04 00:45:49 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2013-08-04 00:45:49 +0300 |
commit | 8831669505905dd9cd415711063f705d8e7ce02c (patch) | |
tree | e3732284d445a143909294265d4b2742e68cfc19 /builtin | |
parent | 742614180cbbe598694a48bd9eb6f7b97a762243 (diff) | |
download | minetest-8831669505905dd9cd415711063f705d8e7ce02c.tar.gz minetest-8831669505905dd9cd415711063f705d8e7ce02c.tar.bz2 minetest-8831669505905dd9cd415711063f705d8e7ce02c.zip |
Allow mods to listen to cheat detections using minetest.register_on_cheat()
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/misc_register.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/misc_register.lua b/builtin/misc_register.lua index 2d25568b6..d5e086702 100644 --- a/builtin/misc_register.lua +++ b/builtin/misc_register.lua @@ -319,4 +319,5 @@ minetest.registered_on_respawnplayers, minetest.register_on_respawnplayer = make minetest.registered_on_joinplayers, minetest.register_on_joinplayer = make_registration() minetest.registered_on_leaveplayers, minetest.register_on_leaveplayer = make_registration() minetest.registered_on_player_receive_fields, minetest.register_on_player_receive_fields = make_registration_reverse() +minetest.registered_on_cheats, minetest.register_on_cheat = make_registration() |