package me.mrCookieSlime.Slimefun.Events; import org.bukkit.block.Block; import org.bukkit.event.Cancellable; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; public class AndroidMineEvent extends Event implements Cancellable { private static final HandlerList handlers = new HandlerList(); private final Block block; private boolean cancelled; public AndroidMineEvent(Block block) { this.block = block; } public static HandlerList getHandlerList() { return handlers; } public HandlerList getHandlers() { return handlers; } public Block getBlock() { return this.block; } @Override public boolean isCancelled() { return this.cancelled; } @Override public void setCancelled(boolean cancel) { this.cancelled = cancel; } }