mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Refactor player location and server name fetching, prune unused locales
This commit is contained in:
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
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user