mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 07:34:48 +01:00
parent
c88819ddd0
commit
dcb21e0c7d
2 changed files with 16 additions and 0 deletions
|
@ -208,6 +208,15 @@ public final class Bukkit {
|
|||
return server.getGenerateStructures();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get max world size.
|
||||
*
|
||||
* @return the maximum world size as specified for the server
|
||||
*/
|
||||
public static int getMaxWorldSize() {
|
||||
return server.getMaxWorldSize();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether this server allows the End or not.
|
||||
*
|
||||
|
|
|
@ -173,6 +173,13 @@ public interface Server extends PluginMessageRecipient {
|
|||
*/
|
||||
public boolean getGenerateStructures();
|
||||
|
||||
/**
|
||||
* Get max world size.
|
||||
*
|
||||
* @return the maximum world size as specified for the server
|
||||
*/
|
||||
public int getMaxWorldSize();
|
||||
|
||||
/**
|
||||
* Gets whether this server allows the End or not.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue