inRadiusOfLocation

Check if a player is within a certain radius of an org.bukkit.Location

Return

true if the player is in the radius, false if not

Parameters

location
the location to check against
radius
the radius to be in
fun Entity.inRadiusOfLocation(location: Location, radius: Int): Boolean