Gets the world with the given legacy Bukkit name. This method is considered obsolete and is a candidate for future deprecation. Prefer using #getWorld(NamespacedKey). @param name the legacy Bukkit name of the world to retrieve @return a world with the given legacy Bukkit name, or nu
(@NotNull String name)
| 866 | * @return a world with the given legacy Bukkit name, or null if none exists |
| 867 | */ |
| 868 | @ApiStatus.Obsolete |
| 869 | @Nullable |
| 870 | public static World getWorld(@NotNull String name) { |
| 871 | return server.getWorld(name); |
| 872 | } |
| 873 | |
| 874 | /** |
| 875 | * Gets the world from the given Unique ID. |
no test coverage detected