mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Added a World.getWorldType() method
This commit is contained in:
parent
88c17a7f86
commit
2e547c5b33
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…
Add table
Reference in a new issue