mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
doc/lua_api.txt: minetest.get_worldpath(modname) -> minetest.get_worldpath()
This commit is contained in:
parent
14a8fa4d68
commit
9e0f969b8b
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ minetest namespace reference
|
||||||
minetest.get_current_modname() -> string
|
minetest.get_current_modname() -> string
|
||||||
minetest.get_modpath(modname) -> eg. "/home/user/.minetest/usermods/modname"
|
minetest.get_modpath(modname) -> eg. "/home/user/.minetest/usermods/modname"
|
||||||
^ Useful for loading additional .lua modules or static data from mod
|
^ Useful for loading additional .lua modules or static data from mod
|
||||||
minetest.get_worldpath(modname) -> eg. "/home/user/.minetest/world"
|
minetest.get_worldpath() -> eg. "/home/user/.minetest/world"
|
||||||
^ Useful for storing custom data
|
^ Useful for storing custom data
|
||||||
|
|
||||||
minetest.debug(line)
|
minetest.debug(line)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue