mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-20 05:14:15 +00:00
[Bleeding] getHandlers() is now abstract.
This commit is contained in:
parent
308443b15b
commit
e0eb9f914b
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,7 @@ public abstract class Event {
|
|||
return name;
|
||||
}
|
||||
|
||||
public HandlerList getHandlers() {
|
||||
throw new IllegalStateException(getEventName() + " must implement getHandlers()");
|
||||
}
|
||||
public abstract HandlerList getHandlers();
|
||||
|
||||
public enum Result {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue