mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 11:05:13 +01:00
Added a World.getWorldType() method
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
4c80a49933
commit
b91d0d5a5f
1 changed files with 7 additions and 0 deletions
|
@ -746,6 +746,13 @@ public interface World extends PluginMessageRecipient {
|
|||
*/
|
||||
public File getWorldFolder();
|
||||
|
||||
/**
|
||||
* Gets the type of this world.
|
||||
*
|
||||
* @return Type of this world.
|
||||
*/
|
||||
public WorldType getWorldType();
|
||||
|
||||
/**
|
||||
* Represents various map environment types that a world may be
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue