Applied kotlin style conventions
This commit is contained in:
@@ -7,5 +7,6 @@ import org.bukkit.World
|
||||
* Assumes that this Location has world data.
|
||||
* If not, an exception will be thrown.
|
||||
*/
|
||||
val Location.worldOrException: World get() = world
|
||||
?: throw NullPointerException("The world of the location is null!")
|
||||
val Location.worldOrException: World
|
||||
get() = world
|
||||
?: throw NullPointerException("The world of the location is null!")
|
Reference in New Issue
Block a user