diff options
author | sfan5 <sfan5@live.de> | 2020-04-10 02:43:49 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2020-05-05 19:26:59 +0200 |
commit | c28fbd06a8bfafc9691a92c90f0cf10ec94cd314 (patch) | |
tree | 09c2dcd20ff76356bb58f055b6877f7d9d3915cd /src/emerge.h | |
parent | 3c65d1acec27366d88fc3686d3f820175673e203 (diff) | |
download | minetest-c28fbd06a8bfafc9691a92c90f0cf10ec94cd314.tar.gz minetest-c28fbd06a8bfafc9691a92c90f0cf10ec94cd314.tar.bz2 minetest-c28fbd06a8bfafc9691a92c90f0cf10ec94cd314.zip |
Fix remaining issues with mapgen scriptapi
Diffstat (limited to 'src/emerge.h')
-rw-r--r-- | src/emerge.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emerge.h b/src/emerge.h index ab9fca2ba..6f204666d 100644 --- a/src/emerge.h +++ b/src/emerge.h @@ -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; |