aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 1969a5946..4971e6f66 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -334,6 +334,9 @@ Server::Server(
// Perform pending node name resolutions
m_nodedef->runNodeResolverCallbacks();
+ // init the recipe hashes to speed up crafting
+ m_craftdef->initHashes(this);
+
// Initialize Environment
m_env = new ServerEnvironment(servermap, m_script, this, m_path_world);