linting ;(

This commit is contained in:
Yannick Lamprecht 2019-04-26 21:37:17 +02:00
parent 8b8447051c
commit 06c45681b3
1 changed files with 12 additions and 12 deletions

View File

@ -122,14 +122,6 @@ public class RandomSearcher {
return id;
}
/**
* Get the seed of this random searcher. Returns -1 if none was set.
* @return The seed or -1
*/
public long getSeed() {
return seed;
}
/**
* Set the seed that should be used when selecting locations. See {@link Random#setSeed(long)}.
* @param seed The seed.
@ -144,11 +136,11 @@ public class RandomSearcher {
}
/**
* Get the random instance that is used for finding locations
* @return The random instance; {@link RandomTeleport#RANDOM} by default
* Get the seed of this random searcher. Returns -1 if none was set.
* @return The seed or -1
*/
public Random getRandom() {
return random;
public long getSeed() {
return seed;
}
/**
@ -159,6 +151,14 @@ public class RandomSearcher {
this.random = random;
}
/**
* Get the random instance that is used for finding locations
* @return The random instance; {@link RandomTeleport#RANDOM} by default
*/
public Random getRandom() {
return random;
}
/**
* Get the center for this searcher
* @return The center location