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
|
|
@ -41,9 +41,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
m_NextCheckPack = DateTime.UtcNow + TimeSpan.FromSeconds(2.0);
|
||||
|
||||
Item deed = pack.FindItemByType(typeof(HouseDeed), false);
|
||||
|
||||
if (deed != null)
|
||||
if (pack.FindItemByType<HouseDeed>(false) != null)
|
||||
{
|
||||
// If you have a deed, I can appraise it or buy it from you...
|
||||
PrivateOverheadMessage(MessageType.Regular, 0x3B2, 500605, m.NetState);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue