diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-01-15 17:43:53 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-01-15 17:43:53 +0000 |
commit | 2e547c5b33667afb9faa68998c82ee47b99b08e1 (patch) | |
tree | 7721470709f513c957252b5069e83925cccfcc5f /src/main/java | |
parent | 88c17a7f86eacd1bc49c8f97577bf3c8bc60662f (diff) | |
download | bukkit-2e547c5b33667afb9faa68998c82ee47b99b08e1.tar bukkit-2e547c5b33667afb9faa68998c82ee47b99b08e1.tar.gz bukkit-2e547c5b33667afb9faa68998c82ee47b99b08e1.tar.lz bukkit-2e547c5b33667afb9faa68998c82ee47b99b08e1.tar.xz bukkit-2e547c5b33667afb9faa68998c82ee47b99b08e1.zip |
Added a World.getWorldType() method
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/World.java | 7 |
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 { |