add static getHandlerList method as required by bukkit
This commit is contained in:
parent
feb36b03a2
commit
1595b18a00
|
@ -23,6 +23,10 @@ public class CoreProtectBlockBreakPreLogEvent extends Event implements Cancellab
|
|||
return handlers;
|
||||
}
|
||||
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancelled;
|
||||
|
|
|
@ -25,6 +25,10 @@ public class CoreProtectBlockPlacePreLogEvent extends Event implements Cancellab
|
|||
return handlers;
|
||||
}
|
||||
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancelled;
|
||||
|
|
Loading…
Reference in New Issue