23 lines
593 B
Java
23 lines
593 B
Java
package us.tastybento.bskyblock.api.events.purge;
|
|
|
|
import us.tastybento.bskyblock.api.events.IslandBaseEvent;
|
|
import us.tastybento.bskyblock.database.objects.Island;
|
|
|
|
/**
|
|
* This event is fired before an island is going to be purged.
|
|
* Canceling this event will prevent the plugin to remove the island.
|
|
*
|
|
* @author Poslovitch
|
|
* @since 1.0
|
|
*/
|
|
public class PurgeDeleteIslandEvent extends IslandBaseEvent {
|
|
|
|
/**
|
|
* Called to create the event
|
|
* @param island - island that will be removed
|
|
*/
|
|
public PurgeDeleteIslandEvent(Island island) {
|
|
super(island);
|
|
}
|
|
}
|