mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +00:00
Make #generateLocation protected
This commit is contained in:
1 parent
6b55327e52
commit
c4b16db9a9
1 file changed
+1
-1
@@ -51,7 +51,7 @@ public class NormalDistributionEngine extends RandomTeleportEngine {
|
|||||||
* @return A generated location
|
* @return A generated location
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
private static Location generateLocation(@NotNull Location origin, float mean, float standardDeviation,
|
protected static Location generateLocation(@NotNull Location origin, float mean, float standardDeviation,
|
||||||
float spawnRadius, float maxRadius) {
|
float spawnRadius, float maxRadius) {
|
||||||
// Generate random values
|
// Generate random values
|
||||||
final float radius = generateNormallyDistributedRadius(mean, standardDeviation, spawnRadius, maxRadius);
|
final float radius = generateNormallyDistributedRadius(mean, standardDeviation, spawnRadius, maxRadius);
|
||||||
|
|||||||
Reference in new issue
Block a user