mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 05:25:42 +01:00
Implemented World.getWorldType
This commit is contained in:
parent
65f30fd99d
commit
95a72d1c59
@ -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 New Issue
Block a user