2020-12-27 19:35:49 +01:00
|
|
|
package world.bentobox.bentobox.api.events.team;
|
|
|
|
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
import org.bukkit.Location;
|
|
|
|
import org.bukkit.event.HandlerList;
|
2021-09-18 17:15:15 +02:00
|
|
|
import org.eclipse.jdt.annotation.NonNull;
|
2022-01-22 22:14:57 +01:00
|
|
|
|
2020-12-27 19:35:49 +01:00
|
|
|
import world.bentobox.bentobox.api.events.IslandBaseEvent;
|
|
|
|
import world.bentobox.bentobox.database.objects.Island;
|
|
|
|
|
|
|
|
public class TeamDeleteEvent extends IslandBaseEvent {
|
|
|
|
|
|
|
|
private static final HandlerList handlers = new HandlerList();
|
|
|
|
|
|
|
|
@Override
|
2021-09-18 17:15:15 +02:00
|
|
|
public @NonNull HandlerList getHandlers() {
|
2020-12-27 19:35:49 +01:00
|
|
|
return getHandlerList();
|
|
|
|
}
|
|
|
|
|
|
|
|
public static HandlerList getHandlerList() {
|
|
|
|
return handlers;
|
|
|
|
}
|
|
|
|
|
|
|
|
TeamDeleteEvent(Island island, UUID player, boolean admin, Location location) {
|
|
|
|
// Final variables have to be declared in the constructor
|
|
|
|
super(island, player, admin, location);
|
|
|
|
}
|
|
|
|
}
|