mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Refactor Script API's log_deprecated
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user