public override void DisplayTo(Mobile to) { base.DisplayTo(to); if (!FirstOpenedByOwner && to == Owner) { if (TreasureMap != null) { TreasureMap.OnChestOpened((PlayerMobile)to, this); } FirstOpenedByOwner = true; } }
public override void DisplayTo(Mobile to) { base.DisplayTo(to); if (!FirstOpenedByOwner && to == Owner) { if (TreasureMap != null) { TreasureMap.OnChestOpened((PlayerMobile)to, this); } FirstOpenedByOwner = true; } }