mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Changed getWorlds to List, and added createWorld
This commit is contained in:
parent
2d43dcc125
commit
539bcff378
1 changed files with 4 additions and 2 deletions
|
@ -86,9 +86,11 @@ public interface Server {
|
|||
/**
|
||||
* Gets a list of all worlds on this server
|
||||
*
|
||||
* @return An array of worlds
|
||||
* @return A list of worlds
|
||||
*/
|
||||
public World[] getWorlds();
|
||||
public List<World> getWorlds();
|
||||
|
||||
public World createWorld(String name, boolean nether);
|
||||
|
||||
/**
|
||||
* Reloads the server, refreshing settings and plugin information
|
||||
|
|
Loading…
Add table
Reference in a new issue