package net.knarcraft.blacksmith.event; import net.citizensnpcs.api.npc.NPC; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; import org.bukkit.event.HandlerList; import org.jetbrains.annotations.NotNull; /** * The event triggered when a scrapper salvaging fails */ public class ScrapperSalvageFailEvent extends AbstractBlacksmithPluginEvent implements SalvageEndEvent { private static final HandlerList handlers = new HandlerList(); /** * Instantiates a new scrapper salvage fail event * * @param npc

The NPC involved in the event

* @param entity

The entity of the NPC

* @param player

The player involved in the event

*/ public ScrapperSalvageFailEvent(@NotNull NPC npc, @NotNull Entity entity, @NotNull Player player) { super(npc, entity, player); } /** * Gets a handler-list containing all event handlers * * @return

A handler-list with all event handlers

*/ @SuppressWarnings("unused") @NotNull public static HandlerList getHandlerList() { return handlers; } @Override @NotNull public HandlerList getHandlers() { return handlers; } }