mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Added new autosave methods to World
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user