Added Registry namespace as a exception to Renamer

- Added Registry namespace as a exception to prevent obfuscation that
  causes built clients to crash when the RegistryEditor is opened
This commit is contained in:
StingRaptor 2016-03-14 10:30:30 +01:00
parent fd202b30cf
commit f14f38b0de
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ namespace xServer.Core.Build
private void RenameInType(TypeDefinition typeDef)
{
if (typeDef.Namespace.Contains("NetSerializer") || typeDef.HasInterfaces)
if (typeDef.Namespace.Contains("NetSerializer")
|| typeDef.Namespace.Contains("Registry") || typeDef.HasInterfaces)
return;
_typeOverloader.GiveName(typeDef);