mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Implemented World.getWorldType
This commit is contained in:
1 parent
65f30fd99d
commit
95a72d1c59
1 file changed
+4
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user