geforkt von Mirrors/Paper
Add isChunkInUse() to World. Addresses BUKKIT-2330
By: Mike Primm <mike@primmhome.com>
Dieser Commit ist enthalten in:
Ursprung
9b80392085
Commit
93196c072c
@ -152,6 +152,15 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|||||||
*/
|
*/
|
||||||
public boolean isChunkLoaded(int x, int z);
|
public boolean isChunkLoaded(int x, int z);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if the {@link Chunk} at the specified coordinates is loaded and in use by one or more players
|
||||||
|
*
|
||||||
|
* @param x X-coordinate of the chunk
|
||||||
|
* @param z Z-coordinate of the chunk
|
||||||
|
* @return true if the chunk is loaded and in use by one or more players, otherwise false
|
||||||
|
*/
|
||||||
|
public boolean isChunkInUse(int x, int z);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads the {@link Chunk} at the specified coordinates
|
* Loads the {@link Chunk} at the specified coordinates
|
||||||
* <p />
|
* <p />
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren