package tc.oc.pgm.destroyable;
import javax.annotation.Nonnull;
import org.bukkit.event.HandlerList;
import tc.oc.pgm.match.Match;
/**
* Called when a {@link Destroyable} is completely destroyed.
*
* Event is called after the destroyable state has been updated.
*/
public class DestroyableDestroyedEvent extends DestroyableEvent {
public DestroyableDestroyedEvent(@Nonnull Match match, @Nonnull Destroyable destroyable) {
super(match, destroyable);
}
private static final HandlerList handlers = new HandlerList();
@Override
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}