mirror of
https://github.com/minetest-mods/nether.git
synced 2024-12-27 19:30:28 +01:00
#41 Allow nether to be in the sky
fixes issue #41 (Now that the Nether no longer extends all the way to -31000)
This commit is contained in:
parent
bafa4e8ea1
commit
3f4b014298
2
init.lua
2
init.lua
@ -155,7 +155,7 @@ This opens to a truly hellish place, though for small mercies the air there is s
|
|||||||
The expedition parties have found no diamonds or gold, and after an experienced search party failed to return from the trail of a missing expedition party, I must conclude this is a dangerous place.]], 10 * nether.FASTTRAVEL_FACTOR),
|
The expedition parties have found no diamonds or gold, and after an experienced search party failed to return from the trail of a missing expedition party, I must conclude this is a dangerous place.]], 10 * nether.FASTTRAVEL_FACTOR),
|
||||||
|
|
||||||
is_within_realm = function(pos) -- return true if pos is inside the Nether
|
is_within_realm = function(pos) -- return true if pos is inside the Nether
|
||||||
return pos.y < nether.DEPTH_CEILING
|
return pos.y < nether.DEPTH_CEILING and pos.y > nether.DEPTH_FLOOR
|
||||||
end,
|
end,
|
||||||
|
|
||||||
find_realm_anchorPos = function(surface_anchorPos, player_name)
|
find_realm_anchorPos = function(surface_anchorPos, player_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user