diff --git a/api/src/main/java/com/craftmend/openaudiomc/api/VoiceApi.java b/api/src/main/java/com/craftmend/openaudiomc/api/VoiceApi.java index a888b8142..2ea551b40 100644 --- a/api/src/main/java/com/craftmend/openaudiomc/api/VoiceApi.java +++ b/api/src/main/java/com/craftmend/openaudiomc/api/VoiceApi.java @@ -77,6 +77,7 @@ static VoiceApi getInstance() { * @param visible Whether the peer should be visible in the client * @param mutual Whether the peer should also hear the client (repeat the call for mutual) * @param displayOverride A display override, which can be used to change the display name and skin of a player in the voice chat system. + * @since 6.10.2 */ void addStaticPeer(Client client, Client peerToAdd, boolean visible, boolean mutual, DisplayOverride displayOverride); diff --git a/api/src/main/java/com/craftmend/openaudiomc/api/voice/DisplayOverride.java b/api/src/main/java/com/craftmend/openaudiomc/api/voice/DisplayOverride.java index 04638b836..c1e551ba4 100644 --- a/api/src/main/java/com/craftmend/openaudiomc/api/voice/DisplayOverride.java +++ b/api/src/main/java/com/craftmend/openaudiomc/api/voice/DisplayOverride.java @@ -8,6 +8,7 @@ * This class is used to override the display name of a player in the voice chat system. * This is useful for when you want to display a different name than the player's actual name, * to add compatibility for bedrock players or display game ranks. + * @since 6.10.2 */ public class DisplayOverride { diff --git a/api/src/main/java/com/craftmend/openaudiomc/api/voice/VoicePeerOptions.java b/api/src/main/java/com/craftmend/openaudiomc/api/voice/VoicePeerOptions.java index 628f13db6..1ebf9bb1f 100644 --- a/api/src/main/java/com/craftmend/openaudiomc/api/voice/VoicePeerOptions.java +++ b/api/src/main/java/com/craftmend/openaudiomc/api/voice/VoicePeerOptions.java @@ -40,6 +40,7 @@ public class VoicePeerOptions implements Cloneable { /** * An optional display override, which can be used to change the display name and skin of a player in the voice chat system. * This can be left null if no override is needed. + * @since 6.10.2 */ @Nullable private DisplayOverride displayOverride;