1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-14 19:18:29 +01:00

Add persistent unique identifiers for objects (#14135)

This commit is contained in:
sfence
2025-07-09 10:40:26 +02:00
committed by GitHub
parent e0f8243629
commit 4f42b4308c
20 changed files with 257 additions and 19 deletions

View File

@@ -14,6 +14,7 @@ PlayerSAO::PlayerSAO(ServerEnvironment *env_, RemotePlayer *player_, session_t p
bool is_singleplayer):
UnitSAO(env_, v3f(0,0,0)),
m_player(player_),
m_player_name(player_->getName()),
m_peer_id_initial(peer_id_),
m_is_singleplayer(is_singleplayer)
{