summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/World.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
index bf77db6e..ea4d31ba 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
@@ -747,6 +747,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
*/
public enum Environment {