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:
@@ -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`.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user