mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-23 12:45:43 +02:00
General code refactoring/improvements in server, treegen and connection
This commit is contained in:
@@ -492,5 +492,5 @@ size_t DecoLSystem::generate(MMVManip *vm, PcgRandom *pr, v3s16 p, bool ceiling)
|
||||
|
||||
// Make sure that tree_def can't be modified, since it is shared.
|
||||
const auto &ref = *tree_def;
|
||||
return treegen::make_ltree(*vm, p, m_ndef, ref);
|
||||
return treegen::make_ltree(*vm, p, ref);
|
||||
}
|
||||
|
Reference in New Issue
Block a user