delhome/delwarp all rewrite; add events for bulk-deletes, close #265

This commit is contained in:
William committed 2022-11-22 21:58:23 +00:00
1 parent 2402f12536
commit 834fdbfc0e
17 files changed
+379 -51

No files matched your search

@@ -0,0 +1,19 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.player.User;
import org.jetbrains.annotations.NotNull;
/**
* Representation of an event that fires when all homes are deleted
*/
public interface IDeleteAllHomesEvent extends CancellableEvent {
/**
* Get the player whose homes are being deleted
*
* @return the {@link User} whose homes are being deleted
*/
@NotNull
User getHomeOwner();
}