diff options
Diffstat (limited to 'src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java')
-rw-r--r-- | src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java b/src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java index 9b00384d..f1c498e8 100644 --- a/src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java +++ b/src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java @@ -3,6 +3,7 @@ package org.bukkit.event.inventory; import org.bukkit.block.Block; import org.bukkit.event.Cancellable; import org.bukkit.event.Event; +import org.bukkit.event.HandlerList; import org.bukkit.inventory.ItemStack; /** @@ -10,6 +11,7 @@ import org.bukkit.inventory.ItemStack; */ @SuppressWarnings("serial") public class FurnaceSmeltEvent extends Event implements Cancellable { + private static final HandlerList handlers = new HandlerList(); private Block furnace; private ItemStack source; private ItemStack result; @@ -67,4 +69,13 @@ public class FurnaceSmeltEvent extends Event implements Cancellable { public void setCancelled(boolean cancel) { this.cancelled = cancel; } + + @Override + public HandlerList getHandlers() { + return handlers; + } + + public static HandlerList getHandlerList() { + return handlers; + } } |