mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
fabric: Add implementation for findSafeGroundLocation
This commit is contained in:
3 files changed
+47
-3
No files matched your search
@@ -81,7 +81,8 @@ public final class NormalDistributionEngine extends RandomTeleportEngine {
|
||||
*/
|
||||
private CompletableFuture<Optional<Location>> generateSafeLocation(@NotNull World world) {
|
||||
return plugin.findSafeGroundLocation(generateLocation(
|
||||
getCenterPoint(world), mean, standardDeviation, spawnRadius, radius));
|
||||
getCenterPoint(world), mean, standardDeviation, spawnRadius, radius
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user