Added a World.getWorldType() method

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2012-01-15 17:43:53 +00:00
parent 4c80a49933
commit b91d0d5a5f

View file

@ -746,6 +746,13 @@ public interface World extends PluginMessageRecipient {
*/
public File getWorldFolder();
/**
* Gets the type of this world.
*
* @return Type of this world.
*/
public WorldType getWorldType();
/**
* Represents various map environment types that a world may be
*/