diff --git a/osu.Game/Rulesets/Objects/Types/IHasDuration.cs b/osu.Game/Rulesets/Objects/Types/IHasDuration.cs
index b558273650..ca734da5ad 100644
--- a/osu.Game/Rulesets/Objects/Types/IHasDuration.cs
+++ b/osu.Game/Rulesets/Objects/Types/IHasDuration.cs
@@ -6,26 +6,16 @@ namespace osu.Game.Rulesets.Objects.Types
///
/// A HitObject that ends at a different time than its start time.
///
-#pragma warning disable 618
- public interface IHasDuration : IHasEndTime
-#pragma warning restore 618
+ public interface IHasDuration
{
- double IHasEndTime.EndTime
- {
- get => EndTime;
- set => Duration = (Duration - EndTime) + value;
- }
-
- double IHasEndTime.Duration => Duration;
-
///
/// The time at which the HitObject ends.
///
- new double EndTime { get; }
+ double EndTime { get; }
///
/// The duration of the HitObject.
///
- new double Duration { get; set; }
+ double Duration { get; set; }
}
}
diff --git a/osu.Game/Rulesets/Objects/Types/IHasEndTime.cs b/osu.Game/Rulesets/Objects/Types/IHasEndTime.cs
deleted file mode 100644
index c3769c5909..0000000000
--- a/osu.Game/Rulesets/Objects/Types/IHasEndTime.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence.
-// See the LICENCE file in the repository root for full licence text.
-
-using System;
-using Newtonsoft.Json;
-
-namespace osu.Game.Rulesets.Objects.Types
-{
- ///
- /// A HitObject that ends at a different time than its start time.
- ///
- [Obsolete("Use IHasDuration instead.")] // can be removed 20201126
- public interface IHasEndTime
- {
- ///
- /// The time at which the HitObject ends.
- ///
- [JsonIgnore]
- double EndTime { get; set; }
-
- ///
- /// The duration of the HitObject.
- ///
- double Duration { get; }
- }
-}