summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-06-09 20:02:20 -0400
committersfan5 <sfan5@live.de>2022-06-11 00:41:26 +0200
commitba65e0ace76dc39dab15b70725cafc629d165e7f (patch)
tree9a6e9ccf140cbb8ec37eb62804d2173422228cb7 /doc
parent213d3562bd29805e0bc8549a4e9e3aa2bf0f0349 (diff)
downloadminetest-ba65e0ace76dc39dab15b70725cafc629d165e7f.tar.gz
minetest-ba65e0ace76dc39dab15b70725cafc629d165e7f.tar.bz2
minetest-ba65e0ace76dc39dab15b70725cafc629d165e7f.zip
Fix LBM docs
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 1efa5678e..7744b02bf 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -7632,7 +7632,7 @@ Used by `minetest.register_lbm`.
A loading block modifier (LBM) is used to define a function that is called for
specific nodes (defined by `nodenames`) when a mapblock which contains such nodes
-gets loaded.
+gets activated (not loaded!)
{
label = "Upgrade legacy doors",
@@ -7647,8 +7647,8 @@ gets loaded.
-- Groups (as of group:groupname) will work as well.
run_at_every_load = false,
- -- Whether to run the LBM's action every time a block gets loaded,
- -- and not only the first time the block gets loaded after the LBM
+ -- Whether to run the LBM's action every time a block gets activated,
+ -- and not only the first time the block gets activated after the LBM
-- was introduced.
action = function(pos, node),