Fixes FindItemsByType and FindItemByType and new override of IsLockedDown and IsSecure by renaming their methods.

This commit is contained in:
Kamron Batman 2018-09-15 15:50:35 -07:00
parent 7321fa1b63
commit a48ebb3a5f
50 changed files with 416 additions and 643 deletions

View file

@ -697,7 +697,7 @@ namespace Server.Items
{
BaseHouse house = BaseHouse.FindHouseAt(this);
if (house == null || !house.IsLockedDown(this))
if (house == null || !house.HasLockedDownItem(this))
{
if (message)
from.SendLocalizedMessage(502946, "", 0x59); // That belongs to someone else.