summaryrefslogtreecommitdiffstats
path: root/src/Protocol
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp6
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;
}
}