diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 3631d13294..0edeead30b 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -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";