diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-06-06 12:53:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 12:53:59 +0200 |
commit | ccc3af128cb4b6213b8111115c570fe988d3523b (patch) | |
tree | 38a2f8cb43018759ca234ef1de62a43ff5049704 /builtin | |
parent | a2de439a91df6876e13230696c05957a9da8b2ce (diff) | |
download | minetest-ccc3af128cb4b6213b8111115c570fe988d3523b.tar.gz minetest-ccc3af128cb4b6213b8111115c570fe988d3523b.tar.bz2 minetest-ccc3af128cb4b6213b8111115c570fe988d3523b.zip |
CSM/SSM: Add on_mods_loaded callback (#7411)
* CSM/SSM: Add on_mods_loaded callback
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/client/register.lua | 1 | ||||
-rw-r--r-- | builtin/game/register.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/builtin/client/register.lua b/builtin/client/register.lua index 955655236..c1b4965c1 100644 --- a/builtin/client/register.lua +++ b/builtin/client/register.lua @@ -59,6 +59,7 @@ local function make_registration() end core.registered_globalsteps, core.register_globalstep = make_registration() +core.registered_on_mods_loaded, core.register_on_mods_loaded = make_registration() core.registered_on_shutdown, core.register_on_shutdown = make_registration() core.registered_on_receiving_chat_message, core.register_on_receiving_chat_message = make_registration() core.registered_on_sending_chat_message, core.register_on_sending_chat_message = make_registration() diff --git a/builtin/game/register.lua b/builtin/game/register.lua index 15c08b045..6a7c4747f 100644 --- a/builtin/game/register.lua +++ b/builtin/game/register.lua @@ -569,6 +569,7 @@ core.unregister_biome = make_wrap_deregistration(core.register_biome, core.clear core.registered_on_chat_messages, core.register_on_chat_message = make_registration() core.registered_globalsteps, core.register_globalstep = make_registration() core.registered_playerevents, core.register_playerevent = make_registration() +core.registered_on_mods_loaded, core.register_on_mods_loaded = make_registration() core.registered_on_shutdown, core.register_on_shutdown = make_registration() core.registered_on_punchnodes, core.register_on_punchnode = make_registration() core.registered_on_placenodes, core.register_on_placenode = make_registration() |