Skip to content

Commit

Permalink
Fix LBM docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TurkeyMcMac authored and sfan5 committed Jun 10, 2022
1 parent 213d356 commit ba65e0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/lua_api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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),
Expand Down

0 comments on commit ba65e0a

Please sign in to comment.