diff options
Diffstat (limited to 'src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java b/src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java index 620e247a..2d55b853 100644 --- a/src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java +++ b/src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java @@ -3,8 +3,10 @@ package org.bukkit.event.entity; import org.bukkit.Location; import org.bukkit.entity.Entity; import org.bukkit.event.Cancellable; +import org.bukkit.event.HandlerList; public class ItemDespawnEvent extends EntityEvent implements Cancellable { + private static final HandlerList handlers = new HandlerList(); private boolean canceled; private Location location; @@ -29,4 +31,13 @@ public class ItemDespawnEvent extends EntityEvent implements Cancellable { public Location getLocation() { return location; } + + @Override + public HandlerList getHandlers() { + return handlers; + } + + public static HandlerList getHandlerList() { + return handlers; + } } |