mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add unittests for item movement code (#11885)
This commit is contained in:
parent
3f801bc096
commit
907dcdcf7b
14 changed files with 382 additions and 81 deletions
|
@ -482,6 +482,7 @@ void Server::init()
|
|||
m_startup_server_map = nullptr; // Ownership moved to ServerEnvironment
|
||||
m_env = new ServerEnvironment(servermap, m_script, this,
|
||||
m_path_world, m_metrics_backend.get());
|
||||
m_env->init();
|
||||
|
||||
m_inventory_mgr->setEnv(m_env);
|
||||
m_clients.setEnv(m_env);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue