From 2a1eddc4414c8a20d548947a4134961e6221500c Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 19 Feb 2012 15:52:46 -0600 Subject: [PATCH] [Bleeding] getHandlers() is now abstract. By: Feildmaster --- paper-api/src/main/java/org/bukkit/event/Event.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/event/Event.java b/paper-api/src/main/java/org/bukkit/event/Event.java index f573a374bd..92351af21a 100644 --- a/paper-api/src/main/java/org/bukkit/event/Event.java +++ b/paper-api/src/main/java/org/bukkit/event/Event.java @@ -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 {