mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Added missing getHandlerList() static method to events
This commit is contained in:
1 parent
87d16f1b7a
commit
142cfee358
4 files changed
+28
-3
No files matched your search
@@ -18,8 +18,9 @@ public class PlayerSetHomeEvent extends Event implements Cancellable {
|
||||
|
||||
/**
|
||||
* An event, fired when a player sets a Home
|
||||
*
|
||||
* @param player the Player setting the Home
|
||||
* @param home the Home being set
|
||||
* @param home the Home being set
|
||||
*/
|
||||
public PlayerSetHomeEvent(Player player, Home home) {
|
||||
this.player = player;
|
||||
@@ -42,8 +43,13 @@ public class PlayerSetHomeEvent extends Event implements Cancellable {
|
||||
return HANDLER_LIST;
|
||||
}
|
||||
|
||||
public static HandlerList getHandlerList() {
|
||||
return HANDLER_LIST;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the player involved in this event
|
||||
*
|
||||
* @return the Player who is setting the home
|
||||
*/
|
||||
public Player getPlayer() {
|
||||
@@ -52,6 +58,7 @@ public class PlayerSetHomeEvent extends Event implements Cancellable {
|
||||
|
||||
/**
|
||||
* Get the Home being set
|
||||
*
|
||||
* @return the Home being set
|
||||
*/
|
||||
public Home getHome() {
|
||||
|
||||
Reference in new issue
Block a user