mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve some warning messages (#15990)
This commit is contained in:
parent
a3648b0b16
commit
7689f1f0fd
3 changed files with 19 additions and 7 deletions
|
@ -364,7 +364,8 @@ int ModApiMainMenu::l_get_content_info(lua_State *L)
|
|||
// being able to return type "unknown".
|
||||
// TODO inspect call sites and make sure this is handled, then we can
|
||||
// likely remove the warning.
|
||||
warningstream << "Requested content info has type \"unknown\"" << std::endl;
|
||||
warningstream << "Requested content info has type \"unknown\" "
|
||||
<< "(at " << path << ")" << std::endl;
|
||||
}
|
||||
|
||||
lua_newtable(L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue