Added a World.getWorldType() method

This commit is contained in:
Nathan Adams
2012-01-15 17:43:53 +00:00
parent eb9dc64493
commit dba43691ca

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
*/