mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Implemented per world setting to keep the spawn in memory or not.
This commit is contained in:
parent
30f4a7d66d
commit
fd2b5f3ec5
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue