mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 02:46:59 +03:00
Hide user properties in the console too
This commit is contained in:
parent
86b6cdfcb3
commit
3c189a6553
1 changed files with 8 additions and 0 deletions
|
|
@ -90,6 +90,14 @@ QString MinecraftProcess::censorPrivateInfo(QString in)
|
|||
in.replace(profileId, "<PROFILE ID>");
|
||||
in.replace(profileName, "<PROFILE NAME>");
|
||||
}
|
||||
|
||||
auto i = m_account->user().properties.begin();
|
||||
while (i != m_account->user().properties.end())
|
||||
{
|
||||
in.replace(i.value(), "<" + i.key().toUpper() + ">");
|
||||
++i;
|
||||
}
|
||||
|
||||
return in;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue