From dc8478280406b56fca500d9a720b48e7b7290638 Mon Sep 17 00:00:00 2001 From: William Date: Mon, 29 Aug 2022 00:33:44 +0100 Subject: [PATCH] Tweak RTP engine javadoc --- .../william278/huskhomes/random/RandomTeleportEngine.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/net/william278/huskhomes/random/RandomTeleportEngine.java b/common/src/main/java/net/william278/huskhomes/random/RandomTeleportEngine.java index 42eceffc..b5c420db 100644 --- a/common/src/main/java/net/william278/huskhomes/random/RandomTeleportEngine.java +++ b/common/src/main/java/net/william278/huskhomes/random/RandomTeleportEngine.java @@ -125,8 +125,8 @@ public abstract class RandomTeleportEngine { * If you'd prefer not to use caching for whatever reason, you can simply override {@link #getRandomLocation(World, String...)} * to call this method directly, though this will affect the speed at which positions can be served to users. * - * @param origin The origin {@link Location} to generate a random position around (i.e. the server spawn, or - * {@code x: 0, z: 0}) + * @param origin The origin {@link Location} to generate a random position around, such as the server spawn, or + * ({@code x: 0, z: 0}) * @param args Arguments specified by the random location request. These may be used to alter which locations are * generated by the randomizer. * @return a generated {@link Location} if one was found; an {@link Optional#empty()} otherwise @@ -159,7 +159,8 @@ public abstract class RandomTeleportEngine { /** * Returns a random {@link Location} on this server from the cache, only generating if necessary * - * @param world the {@link World} to search for a random {@link Location} + * @param world the {@link World} to search for a random {@link Location}. Note that ({@code x: 0, z: 0}) will be + * passed as the origin position in the world * @param args Arguments specified by the random location request. These may be used to alter which locations are * generated by the randomizer. * @return a generated {@link Location} if one was found; an {@link Optional#empty()} otherwise