uuid changes

By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-07-13 00:15:47 -04:00
parent 0664487563
commit fa0ea3b75c
2 changed files with 5 additions and 2 deletions

View file

@ -7,6 +7,7 @@ import org.bukkit.inventory.Recipe;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.logging.Logger;
import org.bukkit.command.PluginCommand;
@ -223,7 +224,7 @@ public interface Server {
* @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);
public World getWorld(UUID uid);
/**
* Reloads the server, refreshing settings and plugin information

View file

@ -4,6 +4,8 @@ import org.bukkit.generator.ChunkGenerator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.bukkit.block.Block;
import org.bukkit.entity.*;
import org.bukkit.generator.BlockPopulator;
@ -368,7 +370,7 @@ public interface World {
*
* @return Unique ID of this world.
*/
public long getUID();
public UUID getUID();
/**
* Gets a semi-unique identifier for this world.