mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Implemented World.getWorldType
This commit is contained in:
parent
65f30fd99d
commit
95a72d1c59
1 changed files with 4 additions and 0 deletions
|
@ -943,4 +943,8 @@ public class CraftWorld implements World {
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
public org.bukkit.WorldType getWorldType() {
|
||||
return org.bukkit.WorldType.getByName(world.getWorldData().getType().name());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue