diff --git a/Projects/Server/Geometry/Rectangle3D.cs b/Projects/Server/Geometry/Rectangle3D.cs index 6ee8da556..ac03fd0d6 100644 --- a/Projects/Server/Geometry/Rectangle3D.cs +++ b/Projects/Server/Geometry/Rectangle3D.cs @@ -20,7 +20,7 @@ namespace Server; [NoSort] [PropertyObject] -public struct Rectangle3D : IEquatable, ISpanFormattable +public struct Rectangle3D : IEquatable, ISpanFormattable, ISpanParsable { private Point3D _start; private Point3D _end; diff --git a/Projects/UOContent/Engines/Advanced Search/AdvancedSearchThreadWorker.cs b/Projects/UOContent/Engines/Advanced Search/AdvancedSearchThreadWorker.cs index 3056e7796..d63c0a442 100644 --- a/Projects/UOContent/Engines/Advanced Search/AdvancedSearchThreadWorker.cs +++ b/Projects/UOContent/Engines/Advanced Search/AdvancedSearchThreadWorker.cs @@ -182,7 +182,7 @@ public class AdvancedSearchThreadWorker private AdvancedSearchResult DoItemSearch(Item item) { - if (_filter.FilterName && !string.IsNullOrWhiteSpace(_filter.Name) && !item.Name.InsensitiveEquals(_filter.Name)) + if (_filter.FilterName && !string.IsNullOrWhiteSpace(_filter.Name) && !(item.Name ?? item.ItemData.Name).InsensitiveContains(_filter.Name)) { return null; } @@ -206,7 +206,7 @@ public class AdvancedSearchThreadWorker private AdvancedSearchResult DoMobileSearch(Mobile mobile) { - if (_filter.FilterName && !string.IsNullOrWhiteSpace(_filter.Name) && !mobile.Name.InsensitiveEquals(_filter.Name)) + if (_filter.FilterName && !string.IsNullOrWhiteSpace(_filter.Name) && !mobile.Name.InsensitiveContains(_filter.Name)) { return null; }