summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-09-02 20:46:44 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-09-02 20:46:44 +0100
commitdc3379f6da075cf9eee988a5a116767a74955e78 (patch)
tree337cac2ae1f4124789062548c52959844562889a /src
parentfacfd2ff2aae65f989deaacecf1dba8b6ee05f00 (diff)
downloadbukkit-dc3379f6da075cf9eee988a5a116767a74955e78.tar
bukkit-dc3379f6da075cf9eee988a5a116767a74955e78.tar.gz
bukkit-dc3379f6da075cf9eee988a5a116767a74955e78.tar.lz
bukkit-dc3379f6da075cf9eee988a5a116767a74955e78.tar.xz
bukkit-dc3379f6da075cf9eee988a5a116767a74955e78.zip
Added new autosave methods to World
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/World.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
index 3c416de1..c46e963a 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
@@ -701,6 +701,20 @@ public interface World {
public void setKeepSpawnInMemory(boolean keepLoaded);
/**
+ * Gets whether or not the world will automatically save
+ *
+ * @return true if the world will automatically save, otherwise false
+ */
+ public boolean isAutoSave();
+
+ /**
+ * Sets whether or not the world will automatically save
+ *
+ * @param value true if the world should automatically save, otherwise false
+ */
+ public void setAutoSave(boolean value);
+
+ /**
* Represents various map environment types that a world may be
*/
public enum Environment {