Unified straw: Fixed multiple straws: using farming's (lord-server/lord#1426). Closes lord-server/lord#1414. Closes lord-server/lord#1203.

* Fixed multiple straws: using farming's one
* Type hint enchancement ✏️
This commit is contained in:
ssdaniel24
2024-06-05 20:02:24 +03:00
committed by GitHub
parent 79a315be80
commit 960d7fad3d
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ local AuthenticationHandlerDefinition = {
--- doesn't exist). --- doesn't exist).
--- Returns following structure: --- Returns following structure:
--- `{password=<string>, privileges=<table>, last_login=<number or nil>}` --- `{password=<string>, privileges=<table>, last_login=<number or nil>}`
---@type fun(name:string):AuthenticationHandlerGetAuth ---@type fun(name:string):AuthenticationHandlerGetAuth|nil
get_auth = function(name) end, get_auth = function(name) end,
--- Create new auth data for player `name`. --- Create new auth data for player `name`.

View File

@@ -203,7 +203,7 @@ function minetest.get_hit_params(groups, tool_capabilities , time_from_last_punc
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L3329-L3338) --- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L3329-L3338)
--- ---
--- @param text_domain string --- @param text_domain string
--- @return fun(str: string, ...) --- @return fun(str: string, ...):string
function minetest.get_translator(text_domain) end function minetest.get_translator(text_domain) end
--- translates the string `str` with --- translates the string `str` with
--- the given `textdomain` for disambiguation. The textdomain must match the --- the given `textdomain` for disambiguation. The textdomain must match the