mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Refactor event dispatch system
This commit is contained in:
27 files changed
+329
-404
No files matched your search
@@ -39,7 +39,7 @@ import java.util.logging.Level;
|
||||
/**
|
||||
* Represents a cross-platform instance of the plugin
|
||||
*/
|
||||
public interface HuskHomes extends TaskRunner {
|
||||
public interface HuskHomes extends TaskRunner, EventDispatcher {
|
||||
|
||||
int SPIGOT_RESOURCE_ID = 83767;
|
||||
|
||||
@@ -141,14 +141,6 @@ public interface HuskHomes extends TaskRunner {
|
||||
*/
|
||||
void setRandomTeleportEngine(@NotNull RandomTeleportEngine randomTeleportEngine);
|
||||
|
||||
/**
|
||||
* The {@link EventDispatcher} that dispatches API events
|
||||
*
|
||||
* @return the {@link EventDispatcher} implementation
|
||||
*/
|
||||
@NotNull
|
||||
EventDispatcher getEventDispatcher();
|
||||
|
||||
/**
|
||||
* The local {@link Spawn} location of this server, as cached to disk
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user