Bulk clearing of whitespace
This commit is contained in:
@@ -67,7 +67,7 @@ bool cScoreboardSerializer::Save(void)
|
||||
SaveScoreboardToNBT(Writer);
|
||||
|
||||
Writer.Finish();
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
cParsedNBT TestParse(Writer.GetResult().data(), Writer.GetResult().size());
|
||||
ASSERT(TestParse.IsValid());
|
||||
@@ -102,7 +102,7 @@ void cScoreboardSerializer::SaveScoreboardToNBT(cFastNBTWriter & a_Writer)
|
||||
a_Writer.BeginCompound("data");
|
||||
|
||||
a_Writer.BeginList("Objectives", TAG_Compound);
|
||||
|
||||
|
||||
for (cScoreboard::cObjectiveMap::const_iterator it = m_ScoreBoard->m_Objectives.begin(); it != m_ScoreBoard->m_Objectives.end(); ++it)
|
||||
{
|
||||
const cObjective & Objective = it->second;
|
||||
@@ -133,7 +133,7 @@ void cScoreboardSerializer::SaveScoreboardToNBT(cFastNBTWriter & a_Writer)
|
||||
|
||||
a_Writer.AddString("Name", it2->first);
|
||||
a_Writer.AddString("Objective", it->first);
|
||||
|
||||
|
||||
a_Writer.EndCompound();
|
||||
}
|
||||
}
|
||||
@@ -141,7 +141,7 @@ void cScoreboardSerializer::SaveScoreboardToNBT(cFastNBTWriter & a_Writer)
|
||||
a_Writer.EndList(); // PlayerScores
|
||||
|
||||
a_Writer.BeginList("Teams", TAG_Compound);
|
||||
|
||||
|
||||
for (cScoreboard::cTeamMap::const_iterator it = m_ScoreBoard->m_Teams.begin(); it != m_ScoreBoard->m_Teams.end(); ++it)
|
||||
{
|
||||
const cTeam & Team = it->second;
|
||||
|
||||
Reference in New Issue
Block a user