1
0
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:
SmallJoker
2025-11-06 19:31:13 +01:00
committed by GitHub
parent 8593d38030
commit 98fb381910
60 changed files with 259 additions and 153 deletions

View File

@@ -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();