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 /games/minimal | |
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 'games/minimal')
-rw-r--r-- | games/minimal/mods/experimental/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/minimal/mods/experimental/init.lua b/games/minimal/mods/experimental/init.lua index f4dc78b21..4d5c61488 100644 --- a/games/minimal/mods/experimental/init.lua +++ b/games/minimal/mods/experimental/init.lua @@ -765,4 +765,9 @@ minetest.log("experimental modname="..dump(minetest.get_current_modname())) minetest.log("experimental modpath="..dump(minetest.get_modpath("experimental"))) minetest.log("experimental worldpath="..dump(minetest.get_worldpath())) + +core.register_on_mods_loaded(function() + core.log("Yeah experimental loaded mods.") +end) + -- END |