mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Refactor Script API's log_deprecated
This commit is contained in:
parent
4da057cc49
commit
c657fb343f
6 changed files with 27 additions and 31 deletions
|
@ -2364,7 +2364,7 @@ bool GUIFormSpecMenu::parseSizeDirect(parserData* data, const std::string &eleme
|
|||
return false;
|
||||
|
||||
if (type == "invsize")
|
||||
log_deprecated("Deprecated formspec element \"invsize\" is used");
|
||||
warningstream << "Deprecated formspec element \"invsize\" is used" << std::endl;
|
||||
|
||||
parseSize(data, description);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue