1
0
Fork 0
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:
sfan5 2020-04-10 02:43:49 +02:00 committed by Loïc Blot
parent 3c65d1acec
commit c28fbd06a8
7 changed files with 26 additions and 22 deletions

View file

@ -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;