mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Added method to set spawn location
This commit is contained in:
parent
f03df70557
commit
42d4daddde
1 changed files with 7 additions and 0 deletions
|
@ -334,6 +334,13 @@ public interface World {
|
|||
*/
|
||||
public Location getSpawnLocation();
|
||||
|
||||
/**
|
||||
* Sets the spawn location of the world
|
||||
*
|
||||
* @return True if it was successfully set.
|
||||
*/
|
||||
public boolean setSpawnLocation(int x, int y, int z);
|
||||
|
||||
/**
|
||||
* Gets the relative in-game time of this world.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue