Skip to content

Commit

Permalink
Add version to javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindgamesnl committed Jun 13, 2024
1 parent 10e6496 commit c2b9019
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c2b9019

Please sign in to comment.