- Removed invisible items from the item insurance menu.

- Changed the new context menu packet to only be used when necessary, until assistants are patched.
- Added a setting for disabling target ID validation for debugging purposes. (It is still enabled by default.)
This commit is contained in:
eos@runuo.com 2013-06-16 01:24:45 +00:00
parent ec8520f4e0
commit 1cfac83311
5 changed files with 29 additions and 3 deletions

View file

@ -1882,7 +1882,7 @@ namespace Server.Mobiles
private bool DisplayInItemInsuranceGump( Item item )
{
return ( item.Insured || CanInsure( item ) );
return ( ( item.Visible || AccessLevel >= AccessLevel.GameMaster ) && ( item.Insured || CanInsure( item ) ) );
}
private class ItemInsuranceMenuGump : Gump