Implemented World.getWorldType

This commit is contained in:
Nathan Adams 2012-01-15 17:44:15 +00:00
parent 65f30fd99d
commit 95a72d1c59

View File

@ -943,4 +943,8 @@ public class CraftWorld implements World {
return result; return result;
} }
public org.bukkit.WorldType getWorldType() {
return org.bukkit.WorldType.getByName(world.getWorldData().getType().name());
}
} }