Check no other mod is already using a portal definition

This commit is contained in:
Treer
2019-07-28 13:15:51 +10:00
committed by SmallJoker
parent 9bfbb64e96
commit 6e0cadb1ec
5 changed files with 51 additions and 16 deletions

View File

@ -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,