Fixes cast errors (#106)
This commit is contained in:
parent
55fb749f17
commit
bc50bea867
6 changed files with 140 additions and 143 deletions
|
|
@ -646,7 +646,7 @@ namespace Server.Multis
|
|||
}
|
||||
|
||||
public List<Mobile> AvailableVendorsFor(Mobile m) =>
|
||||
PlayerVendors.Where(vendor => vendor.CanInteractWith(m, false)).Cast<Mobile>().ToList();
|
||||
PlayerVendors.Where(vendor => vendor.CanInteractWith(m, false)).ToList<Mobile>();
|
||||
|
||||
public bool AreThereAvailableVendorsFor(Mobile m) =>
|
||||
PlayerVendors.Any(vendor => vendor.CanInteractWith(m, false));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue