mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-13 04:35:28 +01:00
Break include chains and tidy (part 2)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "profiler.h"
|
||||
#include "remoteplayer.h"
|
||||
#include "server/ban.h"
|
||||
#include "serverenvironment.h"
|
||||
#include "servermap.h"
|
||||
#include "server/player_sao.h"
|
||||
#include "server/rollback.h"
|
||||
@@ -4017,6 +4018,11 @@ void Server::addShutdownError(const ModError &e)
|
||||
}
|
||||
}
|
||||
|
||||
Map &Server::getMap()
|
||||
{
|
||||
return m_env->getMap();
|
||||
}
|
||||
|
||||
v3f Server::findSpawnPos()
|
||||
{
|
||||
ServerMap &map = m_env->getServerMap();
|
||||
|
||||
Reference in New Issue
Block a user