Streamlines packet tests (#175)

This commit is contained in:
Kamron Batman 2020-07-11 00:29:53 -07:00 • committed by GitHub
parent 6a727c3401
commit 7d20cf7642
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 1782 additions and 1684 deletions

View file

@ -26,7 +26,7 @@ namespace Server.Menus.ItemLists
{
public ItemListEntry(string name, int itemID, int hue = 0)
{
Name = name;
Name = name?.Trim() ?? "";
ItemID = itemID;
Hue = hue;
}
@ -44,7 +44,7 @@ namespace Server.Menus.ItemLists
public ItemListMenu(string question, ItemListEntry[] entries)
{
Question = question;
Question = question.Trim();
Entries = entries;
do