Skip to content

Commit

Permalink
add since javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindgamesnl committed Dec 27, 2024
1 parent fdedd70 commit 70fe1a3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@ static WorldApi getInstance() {
* @param y y
* @param z z
* @param world world
* @param String media source
* @param media The media source
* @param speakerType speaker type
* @param radius radius
* @param extraOptions extra options (redstone requirement, loop, etc)
*
* @throws InvalidThreadException if called from the main thread.
* This is to prevent blocking the main thread with the underlying Sqlite database
* @throws InvalidLocationException if the location is not valid (this location is already occupied by a real or virtual speaker)
* @since 6.10.7
*/
void registerVirtualSpeaker(
int x,
Expand All @@ -89,6 +90,7 @@ void registerVirtualSpeaker(
* @param speaker speaker
* @throws InvalidSpeakerException if the speaker is not valid (already unregistered, or not registered by the api)
* @throws InvalidThreadException if called from the main thread.
* @since 6.10.7
*/
void unregisterVirtualSpeaker(@NotNull BasicSpeaker speaker) throws InvalidSpeakerException, InvalidThreadException;

Expand Down

0 comments on commit 70fe1a3

Please sign in to comment.