diff options
author | LoneWolfHT <lonewolf04361@gmail.com> | 2020-10-03 10:00:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-03 19:00:08 +0200 |
commit | 962438717913498bc44ec98d37bccc7a4798bca2 (patch) | |
tree | 58ab81ddc36d2984c27f3ee4669633ec09c9375f /doc | |
parent | 7d3641021b755be133dea58404fcb039211fbe52 (diff) | |
download | minetest-962438717913498bc44ec98d37bccc7a4798bca2.tar.gz minetest-962438717913498bc44ec98d37bccc7a4798bca2.tar.bz2 minetest-962438717913498bc44ec98d37bccc7a4798bca2.zip |
Add note to docs on how to override privileges (#9792)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e8eb403c4..5d5e4b93a 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5767,6 +5767,9 @@ Global tables * Map of registered tool definitions, indexed by name * `minetest.registered_entities` * Map of registered entity prototypes, indexed by name + * Values in this table may be modified directly. + Note: changes to initial properties will only affect entities spawned afterwards, + as they are only read when spawning. * `minetest.object_refs` * Map of object references, indexed by active object id * `minetest.luaentities` @@ -5797,6 +5800,7 @@ Global tables * Map of registered chat command definitions, indexed by name * `minetest.registered_privileges` * Map of registered privilege definitions, indexed by name + * Registered privileges can be modified directly in this table. ### Registered callback tables |