Skip to content

Commit 29cc974

Browse files
committed
Add @SInCE 5.4 annotations to ConcurrentPlayerWorldTracker methods
1 parent ce3b6ab commit 29cc974

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/org/mvplugins/multiverse/core/world/helpers/ConcurrentPlayerWorldTracker.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
/**
2424
* Tracks which players are in which worlds, using a thread-safe map.
2525
* This allows async access to online players list and the world they are in.
26+
*
27+
* @since 5.4
2628
*/
2729
@ApiStatus.AvailableSince("5.4")
2830
@Service
@@ -40,6 +42,8 @@ public final class ConcurrentPlayerWorldTracker implements Listener {
4042
* Get an unmodifiable collection of all online player names on the server.
4143
*
4244
* @return Unmodifiable collection of online player names.
45+
*
46+
* @since 5.4
4347
*/
4448
@ApiStatus.AvailableSince("5.4")
4549
@NotNull
@@ -53,6 +57,8 @@ public Collection<String> getOnlinePlayers() {
5357
*
5458
* @param playerName Name of the player.
5559
* @return World name the player is in, or null if the player is not online.
60+
*
61+
* @since 5.4
5662
*/
5763
@ApiStatus.AvailableSince("5.4")
5864
@NotNull

0 commit comments

Comments
 (0)