-
Notifications
You must be signed in to change notification settings - Fork 0
Draft: 21 add more offlineplayerproperties #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
surf-cloud-core/surf-cloud-core-common/src/main/kotlin/dev/slne/surf/cloud/core/common/player/playtime/PlaytimeImpl.kt:130
- In the averagePlaytimePerServer function, calculating the average playtime and directly converting it to seconds may yield a NaN Duration if the entries collection is empty. Consider checking for empty groups or NaN values and defaulting to Duration.ZERO.
.average().seconds
surf-cloud-core/surf-cloud-core-common/src/main/kotlin/dev/slne/surf/cloud/core/common/player/playtime/PlaytimeImpl.kt:139
- Similarly, in the averagePlaytimePerServer branch with the 'since' filter, the use of .average().seconds can lead to a NaN Duration when there are no matching entries. Consider handling the empty case explicitly.
.average().seconds
…ts in PlaytimeImpl
…onents, BitSet, and UUID
…disconnect handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 51 out of 51 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/netty/packet/packet-extension.kt:72
- [nitpick] Consider specifying an explicit type argument for the serializer() call for clarity and to prevent potential ambiguity in type inference.
val serializer = serializer()
README.md:7
- [nitpick] Verify if the added external link is intentional; if not, consider removing it to keep the README focused on project-related resources.
https://chatgpt.com/g/g-67f7a61dc2208191bea4663d0771d6dd-flyway-migration-generator
Should be a draft, but we don't have the GitHub Team plan anymore.
Closes #21