mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
[Bleeding] getHandlers() is now abstract.
By: Feildmaster <admin@feildmaster.com>
This commit is contained in:
@@ -16,9 +16,7 @@ public abstract class Event {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public HandlerList getHandlers() {
|
public abstract HandlerList getHandlers();
|
||||||
throw new IllegalStateException(getEventName() + " must implement getHandlers()");
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum Result {
|
public enum Result {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user