Fix javadoc

Former-commit-id: f977dc72b816b3a3173ae83b870683f92af4b18a [formerly 9eb3ade0413e4e93666f28c119da1c7c276af41d]
Former-commit-id: 001c8e8c94a53cb7acabcb019bd7cc9dcba1b96c
This commit is contained in:
Ghost_chu committed 2019-11-15 19:56:39 +08:00
1 parent 77e2771fa8
commit ebf358fb64
5 files changed
+6

No files matched your search

@@ -27,6 +27,7 @@ public class ShopProtectionCheckEvent extends Event {
* @param loc Target location will execute protect check.
* @param status The checking status
* @param event The event will call to check the permissions.
* @param player The player in was mentions in this event
*/
public ShopProtectionCheckEvent(@NotNull Location loc, @NotNull Player player, @NotNull ProtectionCheckStatus status, @NotNull Event event) {
this.loc = loc;
@@ -25,6 +25,7 @@ public class ListenerHelper {
/**
* Check the specify event is disabled
* @param eventClass The event class, E.g BlockBreakEvent.class
* @return The status for target class
*/
public static boolean isDisabled(Class eventClass) {
return disabledListener.contains(eventClass);
@@ -41,6 +41,7 @@ public class Compatibility {
* WIP
*
* @param status true=turn on closed listeners, false=turn off all turned on listeners.
* @param player The player to check the listeners
*/
public void toggleProtectionListeners(boolean status, @NotNull Player player) {
if (status) {
@@ -176,6 +176,7 @@ public class MsgUtil {
*
* @param loc location
* @param args args
* @param player The sender will send the message to
* @return message
*/
public static String getMessage(@NotNull String loc, @Nullable CommandSender player, @NotNull String... args) {
@@ -197,6 +198,7 @@ public class MsgUtil {
* getMessage in messages.yml
*
* @param loc location
* @param player The sender will send the message to
* @param args args
* @return message
*/
@@ -287,6 +287,7 @@ public class Util {
/**
* Return the Class name.
* @param c The class to get name
*/
public static String getClassPrefix(@NotNull Class c) {
String callClassName = Thread.currentThread().getStackTrace()[2].getClassName();