mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Fix remaining issues with mapgen scriptapi
This commit is contained in:
parent
3c65d1acec
commit
c28fbd06a8
7 changed files with 26 additions and 22 deletions
|
@ -44,6 +44,7 @@ class OreManager;
|
|||
class DecorationManager;
|
||||
class SchematicManager;
|
||||
class Server;
|
||||
class ModApiMapgen;
|
||||
|
||||
// Structure containing inputs/outputs for chunk generation
|
||||
struct BlockMakeData {
|
||||
|
@ -111,6 +112,11 @@ private:
|
|||
};
|
||||
|
||||
class EmergeManager {
|
||||
/* The mod API needs unchecked access to allow:
|
||||
* - using decomgr or oremgr to place decos/ores
|
||||
* - using schemmgr to load and place schematics
|
||||
*/
|
||||
friend class ModApiMapgen;
|
||||
public:
|
||||
const NodeDefManager *ndef;
|
||||
bool enable_mapgen_debug_info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue