Fix LBM docs

This commit is contained in:
Jude Melton-Houghton 2022-06-09 20:02:20 -04:00 committed by sfan5
parent 213d3562bd
commit ba65e0ace7
1 changed files with 3 additions and 3 deletions

View File

@ -7632,7 +7632,7 @@ Used by `minetest.register_lbm`.
A loading block modifier (LBM) is used to define a function that is called for 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 specific nodes (defined by `nodenames`) when a mapblock which contains such nodes
gets loaded. gets activated (not loaded!)
{ {
label = "Upgrade legacy doors", label = "Upgrade legacy doors",
@ -7647,8 +7647,8 @@ gets loaded.
-- Groups (as of group:groupname) will work as well. -- Groups (as of group:groupname) will work as well.
run_at_every_load = false, run_at_every_load = false,
-- Whether to run the LBM's action every time a block gets loaded, -- Whether to run the LBM's action every time a block gets activated,
-- and not only the first time the block gets loaded after the LBM -- and not only the first time the block gets activated after the LBM
-- was introduced. -- was introduced.
action = function(pos, node), action = function(pos, node),