summaryrefslogtreecommitdiffstats
path: root/src/Root.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-09-23 14:03:06 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-09-25 15:51:57 +0200
commitc158569af3f8303c1c2472490cfd2f5a1f599d35 (patch)
tree0a9385c0df165af449889cd29cd9dca38c2825eb /src/Root.h
parentDo not call into things we don't own in destructors (diff)
downloadcuberite-c158569af3f8303c1c2472490cfd2f5a1f599d35.tar
cuberite-c158569af3f8303c1c2472490cfd2f5a1f599d35.tar.gz
cuberite-c158569af3f8303c1c2472490cfd2f5a1f599d35.tar.bz2
cuberite-c158569af3f8303c1c2472490cfd2f5a1f599d35.tar.lz
cuberite-c158569af3f8303c1c2472490cfd2f5a1f599d35.tar.xz
cuberite-c158569af3f8303c1c2472490cfd2f5a1f599d35.tar.zst
cuberite-c158569af3f8303c1c2472490cfd2f5a1f599d35.zip
Diffstat (limited to 'src/Root.h')
-rw-r--r--src/Root.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Root.h b/src/Root.h
index a117596df..696b31ce3 100644
--- a/src/Root.h
+++ b/src/Root.h
@@ -1,7 +1,6 @@
#pragma once
-#include "BlockTypeRegistry.h"
#include "Defines.h"
#include "FunctionRef.h"
#include "HTTP/HTTPServer.h"
@@ -96,7 +95,7 @@ public:
cBrewingRecipes * GetBrewingRecipes (void) { return m_BrewingRecipes.get(); } // Exported in ManualBindings.cpp
/** Returns the (read-write) storage for registered block types. */
- BlockTypeRegistry & GetBlockTypeRegistry() { return m_BlockTypeRegistry; }
+ // BlockTypeRegistry & GetBlockTypeRegistry() { return m_BlockTypeRegistry; }
/** Returns the number of ticks for how long the item would fuel a furnace. Returns zero if not a fuel */
static int GetFurnaceFuelBurnTime(const cItem & a_Fuel); // tolua_export
@@ -233,7 +232,7 @@ private:
cHTTPServer m_HTTPServer;
/** The storage for all registered block types. */
- BlockTypeRegistry m_BlockTypeRegistry;
+ // BlockTypeRegistry m_BlockTypeRegistry;
void LoadGlobalSettings();