Factions3/src/com/massivecraft/factions/event/EventFactionsWarpRemove.java
2019-01-27 17:12:56 +01:00

41 lines
1.2 KiB
Java

package com.massivecraft.factions.event;
import com.massivecraft.factions.entity.Faction;
import com.massivecraft.factions.entity.Warp;
import org.bukkit.command.CommandSender;
import org.bukkit.event.HandlerList;
public class EventFactionsWarpRemove extends EventFactionsAbstractSender
{
// -------------------------------------------- //
// REQUIRED EVENT CODE
// -------------------------------------------- //
private static final HandlerList handlers = new HandlerList();
@Override public HandlerList getHandlers() { return handlers; }
public static HandlerList getHandlerList() { return handlers; }
// -------------------------------------------- //
// FIELDS
// -------------------------------------------- //
private final Faction faction;
public Faction getFaction() { return this.faction; }
private Warp warp;
public Warp getNewWarp() { return this.warp; }
public void setNewWarp(Warp warp) { this.warp = warp; }
// -------------------------------------------- //
// CONSTRUCT
// -------------------------------------------- //
public EventFactionsWarpRemove(CommandSender sender, Faction faction, Warp warp)
{
super(sender);
this.faction = faction;
this.warp = warp;
}
}