diff options
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 77ce378da..afeb8fa04 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -146,8 +146,6 @@ cPlayer::cPlayer(cClientHandlePtr a_Client, const AString & a_PlayerName) : m_IsFlying = true; m_bVisible = false; } - - cRoot::Get()->GetServer()->PlayerCreated(this); } @@ -183,9 +181,6 @@ cPlayer::~cPlayer(void) LOGD("Deleting cPlayer \"%s\" at %p, ID %d", GetName().c_str(), static_cast<void *>(this), GetUniqueID()); - // Notify the server that the player is being destroyed - cRoot::Get()->GetServer()->PlayerDestroying(this); - SaveToDisk(); m_ClientHandle = nullptr; |