diff --git a/src/main/java/net/dv8tion/jda/internal/entities/ActivityImpl.java b/src/main/java/net/dv8tion/jda/internal/entities/ActivityImpl.java index 558fb60275..8ccaca60c7 100644 --- a/src/main/java/net/dv8tion/jda/internal/entities/ActivityImpl.java +++ b/src/main/java/net/dv8tion/jda/internal/entities/ActivityImpl.java @@ -47,7 +47,7 @@ protected ActivityImpl(String name, String url, ActivityType type) this(name, url, type, null, null); } - protected ActivityImpl(String name, String url, ActivityType type, RichPresence.Timestamps timestamps, EmojiUnion emoji) + protected ActivityImpl(String name, String url, ActivityType type, Activity.Timestamps timestamps, EmojiUnion emoji) { this.name = name; this.url = url; @@ -89,7 +89,7 @@ public ActivityType getType() } @Nullable - public RichPresence.Timestamps getTimestamps() + public Activity.Timestamps getTimestamps() { return timestamps; } diff --git a/src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java b/src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java index 26cf597b94..b9817e966a 100644 --- a/src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java +++ b/src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java @@ -889,14 +889,14 @@ public static Activity createActivity(DataObject gameJson) type = Activity.ActivityType.PLAYING; } - RichPresence.Timestamps timestamps = null; + Activity.Timestamps timestamps = null; if (!gameJson.isNull("timestamps")) { DataObject obj = gameJson.getObject("timestamps"); long start, end; start = obj.getLong("start", 0L); end = obj.getLong("end", 0L); - timestamps = new RichPresence.Timestamps(start, end); + timestamps = new Activity.Timestamps(start, end); } EmojiUnion emoji = null;