mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
[Client] Don't print null for missing plugins when comparing with server
This commit is contained in:
parent
c3c04bbfc3
commit
4294508082
@ -92,8 +92,17 @@ string comparePlugins(PacketPreInit::PluginContainer checksums, PacketPreInit::P
|
||||
plugin = "null";
|
||||
val = 0;
|
||||
}
|
||||
printWithWidth(sstr, plugin, pluginNameLen1 + 2);
|
||||
printWithWidth(sstr, intToHexStr(val), 14);
|
||||
|
||||
if (plugin == "null")
|
||||
{
|
||||
printWithWidth(sstr, "", pluginNameLen1 + 16);
|
||||
}
|
||||
else
|
||||
{
|
||||
printWithWidth(sstr, plugin, pluginNameLen1 + 2);
|
||||
printWithWidth(sstr, intToHexStr(val), 14);
|
||||
}
|
||||
|
||||
printWithWidth(sstr, checksumsResponse[i].first, pluginNameLen2 + 2);
|
||||
if (checksumsResponse[i].second.size() > 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user