mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
delhome/delwarp all rewrite; add events for bulk-deletes, close #265
This commit is contained in:
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();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user