summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 {