uuid changes
By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
parent
0664487563
commit
fa0ea3b75c
2 changed files with 5 additions and 2 deletions
|
@ -7,6 +7,7 @@ import org.bukkit.inventory.Recipe;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
import org.bukkit.command.PluginCommand;
|
import org.bukkit.command.PluginCommand;
|
||||||
|
|
||||||
|
@ -223,7 +224,7 @@ public interface Server {
|
||||||
* @param uid Unique ID of the world to retrieve.
|
* @param uid Unique ID of the world to retrieve.
|
||||||
* @return World with the given Unique ID, or null if none exists.
|
* @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
|
* Reloads the server, refreshing settings and plugin information
|
||||||
|
|
|
@ -4,6 +4,8 @@ import org.bukkit.generator.ChunkGenerator;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.entity.*;
|
import org.bukkit.entity.*;
|
||||||
import org.bukkit.generator.BlockPopulator;
|
import org.bukkit.generator.BlockPopulator;
|
||||||
|
@ -368,7 +370,7 @@ public interface World {
|
||||||
*
|
*
|
||||||
* @return Unique ID of this world.
|
* @return Unique ID of this world.
|
||||||
*/
|
*/
|
||||||
public long getUID();
|
public UUID getUID();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a semi-unique identifier for this world.
|
* Gets a semi-unique identifier for this world.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue