mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Schematic: Properly deal with before/after node resolving and document (#11011)
This fixes an out-of-bounds index access when the node resolver was already applied to the schematic (i.e. biome decoration). Also improves the handling of the two cases: prior node resolving (m_nodenames), and after node resolving (manual lookup)
This commit is contained in:
@@ -56,6 +56,8 @@ void TestNodeResolver::runTests(IGameDef *gamedef)
|
||||
|
||||
class Foobar : public NodeResolver {
|
||||
public:
|
||||
friend class TestNodeResolver; // m_ndef
|
||||
|
||||
void resolveNodeNames();
|
||||
|
||||
content_t test_nr_node1;
|
||||
|
Reference in New Issue
Block a user