Refactor player location and server name fetching, prune unused locales

This commit is contained in:
William committed 2022-08-23 16:19:18 +01:00
1 parent 571f35429d
commit 7e3dab918f
23 files changed
+151 -200

No files matched your search

@@ -209,7 +209,8 @@ public interface HuskHomes {
*
* @return The server
*/
CompletableFuture<Server> getServer(@NotNull OnlineUser requester);
@NotNull
Server getServer(@NotNull OnlineUser requester);
/**
* Returns a list of worlds on the server
@@ -219,14 +220,6 @@ public interface HuskHomes {
@NotNull
List<World> getWorlds();
/**
* Returns true if the position is a valid location on the server
*
* @param position The {@link Position} to check
* @return {@code true} if the position is a valid one on the server; {@code false} otherwise
*/
boolean isValidPositionOnServer(Position position);
/**
* Returns the plugin version
*