mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-12-01 02:04:45 +00:00
2.12.1 - Chunk async support on older servers
Reason for this change is that in previous versions on MC the spigot api would load a chunk prior to finding the tallest block in the world. So a full recode on the random location has been issued, first generating a random x/z coordinates, then loading that locations chunk, grabbing the tallest block making sure its a valid block, and then checking for griefprevention/worldguard, and then teleporting the player if its valid, else loop again until it finds a valid location, or cancel if there are too many attempts.
This commit is contained in:
1 parent
3b8b7b0b38
commit
fd1c7c5c14
9 files changed
+244
-160