diff options
author | kaeza <kaeza@users.sf.net> | 2013-12-12 04:51:35 -0200 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-12-12 13:42:14 -0500 |
commit | 33de69a173a3646d8f5b9bf91b3e48d76cd40ae6 (patch) | |
tree | c5eeb56ed20b435e9fabf52f80bdee893e580df1 /builtin/misc_register.lua | |
parent | 76036abdb0d9cb2c971e5a69331c77872d38c56f (diff) | |
download | minetest-33de69a173a3646d8f5b9bf91b3e48d76cd40ae6.tar.gz minetest-33de69a173a3646d8f5b9bf91b3e48d76cd40ae6.tar.bz2 minetest-33de69a173a3646d8f5b9bf91b3e48d76cd40ae6.zip |
Add 'on_prejoinplayer' callback
Diffstat (limited to 'builtin/misc_register.lua')
-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 249d272eb..6c50ff02e 100644 --- a/builtin/misc_register.lua +++ b/builtin/misc_register.lua @@ -380,6 +380,7 @@ minetest.registered_on_generateds, minetest.register_on_generated = make_registr minetest.registered_on_newplayers, minetest.register_on_newplayer = make_registration() minetest.registered_on_dieplayers, minetest.register_on_dieplayer = make_registration() minetest.registered_on_respawnplayers, minetest.register_on_respawnplayer = make_registration() +minetest.registered_on_prejoinplayers, minetest.register_on_prejoinplayer = make_registration() 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() |