public static void UpdateInstancePosition(DynamicSettingsController attemptedConstruct)
        {
            if (attemptedConstruct == null)
            {
                return;
            }

            if (Instance == null)             // should never happen, but if it does, make this the instance
            {
                Instance = attemptedConstruct;
            }
            else if (attemptedConstruct.Location != Point3D.Zero)             // move the instance to it's location and delete it
            {
                Instance.Location = attemptedConstruct.Location;
                attemptedConstruct.Destroy();
            }
        }
		public static void UpdateInstancePosition(DynamicSettingsController attemptedConstruct)
		{
			if (attemptedConstruct == null)
			{
				return;
			}

			if (Instance == null) // should never happen, but if it does, make this the instance
			{
				Instance = attemptedConstruct;
			}
			else if (attemptedConstruct.Location != Point3D.Zero) // move the instance to it's location and delete it
			{
				Instance.Location = attemptedConstruct.Location;
				attemptedConstruct.Destroy();
			}
		}
        private static void OnDynSettingsCommand(CommandEventArgs e)
        {
            if (e.Mobile == null || e.Mobile.Deleted)
            {
                return;
            }

            if (Instance == null)
            {
                Instance = new DynamicSettingsController {
                    Location = e.Mobile.Location,
                    Map      = e.Mobile.Map
                };
            }

            e.Mobile.SendGump(new PropertiesGump(e.Mobile, Instance));
        }
		private static void OnDynSettingsCommand(CommandEventArgs e)
		{
			if (e.Mobile == null || e.Mobile.Deleted)
			{
				return;
			}

			if (Instance == null)
			{
				Instance = new DynamicSettingsController {
					Location = e.Mobile.Location,
					Map = e.Mobile.Map
				};
			}

			e.Mobile.SendGump(new PropertiesGump(e.Mobile, Instance));
		}