mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 08:46:44 +01:00
[Bleeding] getHandlers() is now abstract.
By: Feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
07ccb2a000
commit
2a1eddc441
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