From b616f84808cc413d80ba2508e4887770c0d97f84 Mon Sep 17 00:00:00 2001 From: Nicholas Rees <70386214+nickreesdev@users.noreply.github.com> Date: Sat, 1 May 2021 01:47:42 -0500 Subject: [PATCH] Quick update to my documentation relating to announcements. --- .../java/zone/themcgamer/core/announce/AnnounceManager.java | 2 +- .../zone/themcgamer/core/announce/command/AnnounceCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/zone/themcgamer/core/announce/AnnounceManager.java b/core/src/main/java/zone/themcgamer/core/announce/AnnounceManager.java index 17f151a..5b4ab24 100644 --- a/core/src/main/java/zone/themcgamer/core/announce/AnnounceManager.java +++ b/core/src/main/java/zone/themcgamer/core/announce/AnnounceManager.java @@ -54,7 +54,7 @@ public class AnnounceManager extends Module { /** * Send a server-wide announcement * - * @param type the type of announcement to send + * @param type the {@link AnnounceType} to use for the announcement * @param message the message that will be sent in the announcement */ public void sendAnnouncement(AnnounceType type, String message) { diff --git a/core/src/main/java/zone/themcgamer/core/announce/command/AnnounceCommand.java b/core/src/main/java/zone/themcgamer/core/announce/command/AnnounceCommand.java index ce82791..feac856 100644 --- a/core/src/main/java/zone/themcgamer/core/announce/command/AnnounceCommand.java +++ b/core/src/main/java/zone/themcgamer/core/announce/command/AnnounceCommand.java @@ -22,7 +22,7 @@ import java.util.stream.Collectors; public class AnnounceCommand { private final AnnounceManager announceManager; - @Command(name = "announce", usage = " ", description = "Announces a message", ranks = { Rank.ADMIN }) + @Command(name = "announce", usage = " ", description = "Announce a message", ranks = { Rank.ADMIN }) public void onCommand(CommandProvider command) { CommandSender sender = command.getSender(); String[] args = command.getArgs();