API: New events, move around old ones, setters

This commit is contained in:
William278 committed 2023-03-20 16:59:20 +00:00
1 parent 6a62cea52c
commit 503898a0ef
44 files changed
+538 -236

No files matched your search

@@ -0,0 +1,23 @@
package net.william278.huskhomes.event;
import net.william278.huskhomes.position.Home;
import net.william278.huskhomes.user.CommandUser;
import org.jetbrains.annotations.NotNull;
/**
* Representation of an event that fires when a home is edited
*/
public interface IHomeEditEvent extends Cancellable {
/**
* Get the home about to be saved
*
* @return the {@link Home} being saved
*/
@NotNull
Home getHome();
@NotNull
CommandUser getEditor();
}