diff options
author | andrew <xdotftw@gmail.com> | 2014-05-12 16:05:09 +0200 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-05-12 16:05:09 +0200 |
commit | b3d2b5b2c94193fd9364b26293b7d96b748ff96d (patch) | |
tree | 215519ba96caea0269641209452661b8bd6e14da /src/Protocol/Protocol17x.cpp | |
parent | Fixed compilation (diff) | |
download | cuberite-b3d2b5b2c94193fd9364b26293b7d96b748ff96d.tar cuberite-b3d2b5b2c94193fd9364b26293b7d96b748ff96d.tar.gz cuberite-b3d2b5b2c94193fd9364b26293b7d96b748ff96d.tar.bz2 cuberite-b3d2b5b2c94193fd9364b26293b7d96b748ff96d.tar.lz cuberite-b3d2b5b2c94193fd9364b26293b7d96b748ff96d.tar.xz cuberite-b3d2b5b2c94193fd9364b26293b7d96b748ff96d.tar.zst cuberite-b3d2b5b2c94193fd9364b26293b7d96b748ff96d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 3b21f7821..39feee16f 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -1879,11 +1879,7 @@ void cProtocol172::HandlePacketClientStatus(cByteBuffer & a_ByteBuffer) case 2: { // Open Inventory achievement - cStatManager & Manager = m_Client->GetPlayer()->GetStatManager(); - Manager.AddValue(achOpenInv); - - SendStatistics(Manager); - + m_Client->GetPlayer()->AwardAchievement(achOpenInv); break; } } |