1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 18:55:29 +02:00

Deprecate special handling of ${key} syntax in metadata values (#12970)

This commit is contained in:
Jude Melton-Houghton
2022-11-24 17:56:43 -05:00
committed by GitHub
parent 3c7f26d937
commit 8817af07fb
6 changed files with 19 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ public:
// Add support for variable names in values. Uses place like getString.
const std::string &resolveString(const std::string &str, std::string *place,
u16 recursion = 0) const;
u16 recursion = 0, bool deprecated = false) const;
protected:
// Returns nullptr to indicate absence of value. Uses place like getString.