diff options
Diffstat (limited to 'src/serverenvironment.h')
-rw-r--r-- | src/serverenvironment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serverenvironment.h b/src/serverenvironment.h index cc4ecd797..3c7b7d059 100644 --- a/src/serverenvironment.h +++ b/src/serverenvironment.h @@ -358,6 +358,7 @@ public: RemotePlayer *getPlayer(const session_t peer_id); RemotePlayer *getPlayer(const char* name); + const std::vector<RemotePlayer *> getPlayers() const { return m_players; } u32 getPlayerCount() const { return m_players.size(); } static bool migratePlayersDatabase(const GameParams &game_params, |