From 8831669505905dd9cd415711063f705d8e7ce02c Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 4 Aug 2013 00:45:49 +0300 Subject: Allow mods to listen to cheat detections using minetest.register_on_cheat() --- builtin/misc_register.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin') 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() -- cgit v1.2.3