mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Node resolver: Make error on fallback optional, disable for mapgen aliases
This commit is contained in:
parent
87ad4d8e7f
commit
0e554706ac
3 changed files with 19 additions and 17 deletions
|
@ -733,9 +733,10 @@ public:
|
|||
virtual void resolveNodeNames() = 0;
|
||||
|
||||
bool getIdFromNrBacklog(content_t *result_out,
|
||||
const std::string &node_alt, content_t c_fallback);
|
||||
const std::string &node_alt, content_t c_fallback,
|
||||
bool error_on_fallback = true);
|
||||
bool getIdsFromNrBacklog(std::vector<content_t> *result_out,
|
||||
bool all_required=false, content_t c_fallback=CONTENT_IGNORE);
|
||||
bool all_required = false, content_t c_fallback = CONTENT_IGNORE);
|
||||
|
||||
void nodeResolveInternal();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue