From c3f38cdabd46fea8c0579d063ca50a90762dd145 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sat, 15 Jun 2019 21:22:21 -0700 Subject: [PATCH] A few typos in javdocs --- .../java/com/gmail/nossr50/util/player/NotificationManager.java | 2 +- .../java/com/gmail/nossr50/util/random/RandomChanceUtil.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/player/NotificationManager.java b/src/main/java/com/gmail/nossr50/util/player/NotificationManager.java index f33432d05..09d9aa697 100644 --- a/src/main/java/com/gmail/nossr50/util/player/NotificationManager.java +++ b/src/main/java/com/gmail/nossr50/util/player/NotificationManager.java @@ -26,7 +26,7 @@ import org.bukkit.entity.Player; public class NotificationManager { /** * Sends players notifications from mcMMO - * This does this by sending out an event so other plugins can cancel it + * Does so by sending out an event so other plugins can cancel it * @param player target player * @param notificationType notifications defined type * @param key the locale key for the notifications defined message diff --git a/src/main/java/com/gmail/nossr50/util/random/RandomChanceUtil.java b/src/main/java/com/gmail/nossr50/util/random/RandomChanceUtil.java index 6bb213c5e..cf4817a65 100644 --- a/src/main/java/com/gmail/nossr50/util/random/RandomChanceUtil.java +++ b/src/main/java/com/gmail/nossr50/util/random/RandomChanceUtil.java @@ -28,7 +28,7 @@ public class RandomChanceUtil * @param skillActivationType this value represents what kind of activation procedures this sub-skill uses * @param subSkillType The identifier for this specific sub-skill * @param player The owner of this sub-skill - * @return returns true if all conditions are met and they event is not cancelled + * @return returns true if all conditions are met and the event is not cancelled */ public static boolean isActivationSuccessful(SkillActivationType skillActivationType, SubSkillType subSkillType, Player player) {