mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-15 03:52:12 +01:00
Added new autosave methods to World
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
49a3d46b46
commit
f4545766e3
@ -700,6 +700,20 @@ public interface World {
|
|||||||
*/
|
*/
|
||||||
public void setKeepSpawnInMemory(boolean keepLoaded);
|
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
|
* Represents various map environment types that a world may be
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user