Saber-Factions/src/main/java/com/massivecraft/factions/event/FactionEvent.java

28 lines
609 B
Java
Raw Normal View History

package com.massivecraft.factions.event;
import com.massivecraft.factions.Faction;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class FactionEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private final Faction faction;
public FactionEvent(Faction faction) {
this.faction = faction;
}
public Faction getFaction() {
return this.getFaction();
}
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}