Get the Cuboid's world. @return the World object representing this Cuboid's world @throws IllegalStateException if the world is not loaded
()
| 211 | * @throws IllegalStateException if the world is not loaded |
| 212 | */ |
| 213 | public World getWorld() { |
| 214 | World world = Bukkit.getWorld(worldName); |
| 215 | if (world == null) { |
| 216 | throw new IllegalStateException("world '" + worldName + "' is not loaded"); |
| 217 | } |
| 218 | return world; |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * Get the size of this Cuboid along the X axis |
no outgoing calls
no test coverage detected