29 lines
815 B
Java
29 lines
815 B
Java
package world.bentobox.bentobox.api.events.team;
|
|
|
|
import java.util.UUID;
|
|
|
|
import org.bukkit.Location;
|
|
import org.bukkit.event.HandlerList;
|
|
|
|
import org.eclipse.jdt.annotation.NonNull;
|
|
import world.bentobox.bentobox.api.events.IslandBaseEvent;
|
|
import world.bentobox.bentobox.database.objects.Island;
|
|
|
|
public class TeamUninviteEvent extends IslandBaseEvent {
|
|
|
|
private static final HandlerList handlers = new HandlerList();
|
|
|
|
@Override
|
|
public @NonNull HandlerList getHandlers() {
|
|
return getHandlerList();
|
|
}
|
|
|
|
public static HandlerList getHandlerList() {
|
|
return handlers;
|
|
}
|
|
|
|
TeamUninviteEvent(Island island, UUID player, boolean admin, Location location) {
|
|
// Final variables have to be declared in the constructor
|
|
super(island, player, admin, location);
|
|
}
|
|
} |