Even more Javadoc

This commit is contained in:
Auxilor
2021-07-21 17:20:57 +01:00
committed by Auxilor
parent 75412b98a4
commit 3144c3a954
2 changed files with 11 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ import java.util.List;
import java.util.logging.Logger;
/**
* @see Eco#getHandler().
* @see Eco
*/
public interface Handler {
/**

View File

@@ -17,6 +17,11 @@ import org.jetbrains.annotations.NotNull;
public class ArmorEquipEvent extends PlayerEvent {
private static final HandlerList HANDLERS = new HandlerList();
/**
* Create a new ArmorEquipEvent.
*
* @param player The player.
*/
public ArmorEquipEvent(@NotNull final Player player) {
super(player);
}
@@ -33,6 +38,11 @@ public class ArmorEquipEvent extends PlayerEvent {
return HANDLERS;
}
/**
* Bukkit parity.
*
* @return The handler list.
*/
public static HandlerList getHandlerList() {
return HANDLERS;
}