13
0
geforkt von Mirrors/Paper

Implemented per world setting to keep the spawn in memory or not.

By: Rigby <rigby@onarandombox.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-07-27 00:24:38 +01:00
Ursprung 26305c7551
Commit 57f0d1b824

Datei anzeigen

@ -686,6 +686,20 @@ public interface World {
*/
public int getMaxHeight();
/**
* Gets whether the world's spawn area should be kept loaded into memory or not.
*
* @return true if the world's spawn area will be kept loaded into memory.
*/
public boolean getKeepSpawnInMemory();
/**
* Sets whether the world's spawn area should be kept loaded into memory or not.
*
* @param keepLoaded if true then the world's spawn area will be kept loaded into memory.
*/
public void setKeepSpawnInMemory(boolean keepLoaded);
/**
* Represents various map environment types that a world may be
*/