cornernote / minetest-skyblock

Build a world starting from a small island in the sky.
https://cornernote.github.io/minetest-skyblock/
Other
11 stars 14 forks source link

Handle unloaded islands when placing the water source #65

Closed Lymkwi closed 8 years ago

Lymkwi commented 8 years ago

If a player completes the feat dig_stone_with_iron away from their island, the area being unloaded, the loop searching for a free node over the "?" node will loop endelessly and cause a deadlock. The new method puts the water source at the player's position if it detects that the island is in an unloaded chunck. (See the commits https://github.com/MinetestForFun/server-minetestforfun-skyblock/commit/14d450566b4c10614eb8c8eead1f6f35492c9df3 https://github.com/MinetestForFun/server-minetestforfun-skyblock/commit/c6abebf1b68b83292b56d10f22dd62634d77f289 from which I took the implementation)

cornernote commented 8 years ago

Thanks!