fix: Fixes Advanced Search crash (#1946)

This commit is contained in:
Kamron Batman 2024-09-08 20:37:51 -07:00 • committed by GitHub
parent 47e16a03fe
commit 65bc264402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 46 additions and 43 deletions

View file

@ -14,8 +14,6 @@ public static class AdvancedSearchCommand
[Aliases("AdvSrch", "AS", "XmlFind")]
private static void OnCommand(CommandEventArgs e)
{
var from = e.Mobile;
from.SendGump(new AdvancedSearchGump(from), true);
e.Mobile.SendGump(new AdvancedSearchGump(), true);
}
}