linting ;(
This commit is contained in:
parent
8b8447051c
commit
06c45681b3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue