Some cleanup of contains keys and try get values (#246)
This commit is contained in:
parent
9cbb0cfd23
commit
a236617ad9
69 changed files with 3508 additions and 350 deletions
|
|
@ -31,11 +31,11 @@ namespace Server.ContextMenus
|
|||
|
||||
if (target is Mobile mobile)
|
||||
{
|
||||
mobile.GetContextMenuEntries(@from, list);
|
||||
mobile.GetContextMenuEntries(from, list);
|
||||
}
|
||||
else if (target is Item item)
|
||||
{
|
||||
item.GetContextMenuEntries(@from, list);
|
||||
item.GetContextMenuEntries(from, list);
|
||||
}
|
||||
|
||||
Entries = list.ToArray();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue