Skip to content

Fix/update playtime api#19

Open
TheBjoRedCraft wants to merge 3 commits intoversion/1.21.11from
fix/update-playtime-api
Open

Fix/update playtime api#19
TheBjoRedCraft wants to merge 3 commits intoversion/1.21.11from
fix/update-playtime-api

Conversation

@TheBjoRedCraft
Copy link
Member

No description provided.

@TheBjoRedCraft TheBjoRedCraft self-assigned this Mar 20, 2026
Copilot AI review requested due to automatic review settings March 20, 2026 14:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Surf Playtime integration in the Paper module to align with the newer Playtime API packaging/artifacts.

Changes:

  • Switch Playtime AFK event import to the Paper-specific API package.
  • Switch surfPlaytimeApi import to the new common API package.
  • Update the Paper module’s compileOnly dependency to surf-playtime-api-paper and bump project version.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
surf-tab-paper/src/main/kotlin/dev/slne/surf/tab/paper/listener/PlaytimeListener.kt Updates AFK event import to the new Paper API event package.
surf-tab-paper/src/main/kotlin/dev/slne/surf/tab/paper/hook/SurfPlaytimeHook.kt Updates surfPlaytimeApi import to the new common API package.
surf-tab-paper/build.gradle.kts Replaces Playtime API dependency with the Paper-specific artifact/version.
gradle.properties Bumps project version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants