Implements World UID.

By: Rigby <rigby@onarandombox.com>
This commit is contained in:
Bukkit/Spigot
2011-07-05 04:49:03 +01:00
parent 642692f84f
commit 52c737b3c1
2 changed files with 18 additions and 1 deletions

View File

@@ -217,6 +217,14 @@ public interface Server {
*/
public World getWorld(String name);
/**
* Gets the world from the given Unique ID
*
* @param uid Unique ID of the world to retrieve.
* @return World with the given Unique ID, or null if none exists.
*/
public World getWorld(long uid);
/**
* Reloads the server, refreshing settings and plugin information
*/