diff options
Diffstat (limited to 'src/Blocks/BlockHandler.h')
-rw-r--r-- | src/Blocks/BlockHandler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h index 7fbc15ff5..d077442c9 100644 --- a/src/Blocks/BlockHandler.h +++ b/src/Blocks/BlockHandler.h @@ -16,6 +16,7 @@ class cBlockPluginInterface; class cChunkInterface; class cWorldInterface; class cItems; +class BlockTypeRegistry; @@ -176,3 +177,9 @@ protected: +namespace Temporary +{ + /** Registers all the BlockHandler descendants in the specified registry. + Temporary, since this will later be performed in a plugin that provides the vanilla blocks. */ + void RegisterAllBlockHandlers(BlockTypeRegistry & aRegistry); +}; |