mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +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
|
||||
*/
|
||||
@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) {
|
||||
// Generate random values
|
||||
final float radius = generateNormallyDistributedRadius(mean, standardDeviation, spawnRadius, maxRadius);
|
||||
|
||||
Reference in new issue
Block a user