summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2017-07-28 18:54:40 +0200
committerGitHub <noreply@github.com>2017-07-28 18:54:40 +0200
commiteb4432bb6260eaadb41495149739244308e9e125 (patch)
tree8f1787586d23194ef5f4d7af8a4454f0ea9e179a /src/Entities/Player.cpp
parentHandle incomplete packets in cProtocolRecognizer (diff)
downloadcuberite-eb4432bb6260eaadb41495149739244308e9e125.tar
cuberite-eb4432bb6260eaadb41495149739244308e9e125.tar.gz
cuberite-eb4432bb6260eaadb41495149739244308e9e125.tar.bz2
cuberite-eb4432bb6260eaadb41495149739244308e9e125.tar.lz
cuberite-eb4432bb6260eaadb41495149739244308e9e125.tar.xz
cuberite-eb4432bb6260eaadb41495149739244308e9e125.tar.zst
cuberite-eb4432bb6260eaadb41495149739244308e9e125.zip
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r--src/Entities/Player.cpp5
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;