Added World.getName and World.getId

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-08 02:29:57 +00:00
parent ee4573d9d1
commit a5f424708d

View file

@ -190,6 +190,14 @@ public class CraftWorld implements World {
return world.l(x, y, z);
}
public String getName() {
return world.w;
}
public long getId() {
return world.u;
}
@Override
public String toString() {
return "CraftWorld";