1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

fix suffixing commands with color code

This commit is contained in:
RaidMax
2022-04-28 17:22:15 -05:00
parent f0276a6a44
commit ced4410d7b

View File

@ -184,7 +184,7 @@ namespace SharedLibraryCore
output = output.Replace(match.Value, mapping.TryGetValue(key, out var code) ? code : ""); output = output.Replace(match.Value, mapping.TryGetValue(key, out var code) ? code : "");
} }
return output.FixIW4ForwardSlash() + mapping[ColorCodes.White.ToString()]; return output.FixIW4ForwardSlash();
} }
private static readonly IList<string> _zmGameTypes = new[] { "zclassic", "zstandard", "zcleansed", "zgrief" }; private static readonly IList<string> _zmGameTypes = new[] { "zclassic", "zstandard", "zcleansed", "zgrief" };