mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
parent
c88819ddd0
commit
dcb21e0c7d
@ -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 New Issue
Block a user