mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Rollback rtp change to fix stack overflow error
This commit is contained in:
1 parent
18673f3936
commit
ad59a5b2a0
3 files changed
+4
-11
No files matched your search
@@ -120,8 +120,7 @@ public abstract class RtpEngine {
|
||||
populateCache(keyedWorld.get(), cacheSize);
|
||||
}
|
||||
}
|
||||
return generateRandomPosition(world.spawn != null ? world.spawn : new Location(0, 0, 0, world))
|
||||
.join();
|
||||
return generateRandomPosition(new Location(0, 0, 0, 0f, 0f, world)).join();
|
||||
}).orTimeout(5, TimeUnit.SECONDS).exceptionally(throwable -> Optional.empty());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user