Clearer docs for tolerance and radius for getSafeLocation

This commit is contained in:
Ben Woo 2023-09-13 23:32:10 +08:00
parent 404ab738c0
commit 2642d940ba
No known key found for this signature in database
GPG Key ID: FB2A3645536E12C8
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ public interface BlockSafety {
* Gets the next safe location around the given location.
*
* @param location A {@link Location}.
* @param tolerance The tolerance.
* @param radius The radius.
* @param tolerance The tolerance of how far up and down to search.
* @param radius The radius around given location to search.
* @return A safe {@link Location}.
*/
@Nullable Location getSafeLocation(Location location, int tolerance, int radius);