Fixes FindItemsByType and FindItemByType and new override of IsLockedDown and IsSecure by renaming their methods.
This commit is contained in:
parent
7321fa1b63
commit
a48ebb3a5f
50 changed files with 416 additions and 643 deletions
|
|
@ -1067,8 +1067,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
if (GetFlag(ConditionFlag.DenyPackEthereals) &&
|
||||
(pack.FindItemByType(typeof(EtherealMount)) != null ||
|
||||
pack.FindItemByType(typeof(BaseImprisonedMobile)) != null))
|
||||
pack.FindItemByType(new []{typeof(EtherealMount), typeof(BaseImprisonedMobile)}) != null)
|
||||
{
|
||||
m.SendMessage("You must empty your backpack of ethereal mounts before proceeding.");
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue