Update dChatServer/PlayerContainer.cpp

Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
This commit is contained in:
Aaron Kimbrell 2025-01-02 20:03:16 -06:00 committed by GitHub
parent 2ce2f4e363
commit 846ba894a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,11 +22,10 @@ const json PlayerData::to_json() const {
data["gm_level"] = this->gmLevel;
data["muted"] = this->GetIsMuted();
json zoneID;
json& zoneID = data["zone_id"];
zoneID["map_id"] = std::to_string(this->zoneID.GetMapID());
zoneID["instance_id"] = std::to_string(this->zoneID.GetInstanceID());
zoneID["clone_id"] = std::to_string(this->zoneID.GetCloneID());
data["zone_id"] = zoneID;
return data;
}