mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Changed getWorlds to List, and added createWorld
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
a5886d6edc
commit
91b977548f
@ -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…
Reference in New Issue
Block a user