mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Refactor and simplify RandomTeleportEngine API and logic
This commit is contained in:
1 parent
c8a0f00290
commit
6b55327e52
6 files changed
+109
-178
No files matched your search
@@ -155,7 +155,7 @@ public interface HuskHomes {
|
||||
RandomTeleportEngine getRandomTeleportEngine();
|
||||
|
||||
/**
|
||||
* Set the {@link RandomTeleportEngine} to use and initialize it, calling {@link RandomTeleportEngine#initialize()}
|
||||
* Sets the {@link RandomTeleportEngine} to be used for processing random teleports
|
||||
*
|
||||
* @param randomTeleportEngine the {@link RandomTeleportEngine} to use
|
||||
*/
|
||||
@@ -291,7 +291,7 @@ public interface HuskHomes {
|
||||
* @return a {@link CompletableFuture} that will complete with an optional of the safe ground position, if it is
|
||||
* possible to find one
|
||||
*/
|
||||
CompletableFuture<Optional<Location>> getSafeGroundLocation(@NotNull Location location);
|
||||
CompletableFuture<Optional<Location>> resolveSafeGroundLocation(@NotNull Location location);
|
||||
|
||||
/**
|
||||
* Returns the {@link Server} the plugin is on
|
||||
|
||||
Reference in new issue
Block a user