From b91d0d5a5f8007a0dbc3de2a8d48a2ab2af51efa Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 15 Jan 2012 17:43:53 +0000 Subject: [PATCH] Added a World.getWorldType() method By: Nathan Adams --- paper-api/src/main/java/org/bukkit/World.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index bf77db6ea1..ea4d31bab3 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -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 */