diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index 3c416de1a2..c46e963a87 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -700,6 +700,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 */