Added new autosave methods to World

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-09-02 20:46:44 +01:00
parent 49a3d46b46
commit f4545766e3

View File

@ -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
*/