Buffer allocation optimizations in PacketWriter

Misc string cleanup
This commit is contained in:
mark 2006-12-13 18:28:37 +00:00
parent b7ea90d3af
commit 3da4aa9efa
5 changed files with 116 additions and 44 deletions

View file

@ -1055,7 +1055,7 @@ namespace Server.Commands
break;
}
if ( line == null || line.Length == 0 )
if ( string.IsNullOrEmpty( line ) )
return null;
DecorationList list = new DecorationList();