Skip to content

Commit

Permalink
Update dChatServer/PlayerContainer.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: David Markowitz <[email protected]>
  • Loading branch information
aronwk-aaron and EmosewaMC authored Jan 3, 2025
1 parent 2ce2f4e commit 846ba89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dChatServer/PlayerContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 846ba89

Please sign in to comment.