mirror of
https://github.com/minetest-mods/nether.git
synced 2025-11-06 18:45:24 +01:00
Check no other mod is already using a portal definition
This commit is contained in:
@@ -52,7 +52,7 @@ Requiring 14 blocks of ice, but otherwise constructed the same as the portal to
|
||||
|
||||
]] .. "\u{25A9}"),
|
||||
|
||||
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
|
||||
end,
|
||||
|
||||
@@ -114,7 +114,7 @@ nether.register_portal("stargate_portal", {
|
||||
|
||||
]] .. "\u{25A9}"),
|
||||
|
||||
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
|
||||
end,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user