28 lines
609 B
Java
28 lines
609 B
Java
|
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;
|
||
|
}
|
||
|
|
||
|
}
|