Missing checks to prevent item loss cause by addon containers.

This commit is contained in:
xavier 2011-10-09 03:24:55 +00:00
parent 008c706ba8
commit 61c499e817
2 changed files with 113 additions and 4 deletions

View file

@ -1143,6 +1143,14 @@ namespace Server.Gumps
// You cannot perform this action while you still have vendors rented out in this house.
from.SendGump( new NoticeGump( 1060637, 30720, 1062395, 32512, 320, 180, new NoticeGumpCallback( CustomizeNotice_Callback ), m_House ) );
}
#region Mondain's Legacy
else if ( m_House.HasAddonContainers )
{
// The house can not be customized when add-on containers such as aquariums, elven furniture containers, vanities, and boiling cauldrons
// are present in the house. Please re-deed the add-on containers before customizing the house.
from.SendGump( new NoticeGump( 1060637, 30720, 1074863, 32512, 320, 180, new NoticeGumpCallback( CustomizeNotice_Callback ), m_House ) );
}
#endregion
else
{
foundation.BeginCustomize( from );