mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
feat: actually set the world spawn on /setspawn, close #622
This commit is contained in:
8 files changed
+48
-7
No files matched your search
@@ -161,6 +161,13 @@ public interface HuskHomes extends Task.Supplier, EventDispatcher, SafetyResolve
|
||||
: getServerSpawn().map(spawn -> spawn.getPosition(getServerName()));
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the spawn position of a world on the server.
|
||||
*
|
||||
* @param position The new spawn world and coordinates.
|
||||
*/
|
||||
void setWorldSpawn(@NotNull Position position);
|
||||
|
||||
/**
|
||||
* Returns the {@link Server} the plugin is on.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user