mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 09:16:06 +01:00
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.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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue