Tweak RTP engine javadoc

This commit is contained in:
William committed 2022-08-29 00:33:44 +01:00
1 parent 63f91c2c8e
commit dc84782804
1 file changed
+4 -3
@@ -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