mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Added a World.getWorldType() method
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user