mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Force player save before kicking on player shutdown (#8157)
This commit is contained in:
@@ -221,7 +221,7 @@ public:
|
||||
void kickAllPlayers(AccessDeniedCode reason,
|
||||
const std::string &str_reason, bool reconnect);
|
||||
// Save players
|
||||
void saveLoadedPlayers();
|
||||
void saveLoadedPlayers(bool force = false);
|
||||
void savePlayer(RemotePlayer *player);
|
||||
PlayerSAO *loadPlayer(RemotePlayer *player, bool *new_player, session_t peer_id,
|
||||
bool is_singleplayer);
|
||||
|
Reference in New Issue
Block a user