diff --git a/mods/nether/nether/init.lua b/mods/nether/nether/init.lua index 5d0cd3ec..d6e9b18d 100644 --- a/mods/nether/nether/init.lua +++ b/mods/nether/nether/init.lua @@ -390,6 +390,7 @@ minetest.register_on_generated(function(minp, maxp, seed) local test3 = math.abs(pmap3[count]) local t = math.floor(test*3+0.5) + local h if test2 < 0 then h = math.floor(test2*3+0.5)-1 diff --git a/mods/nether/nether/items.lua b/mods/nether/nether/items.lua index 193098b4..989e89fa 100644 --- a/mods/nether/nether/items.lua +++ b/mods/nether/nether/items.lua @@ -622,11 +622,10 @@ minetest.register_node("nether:portal", { sunlight_propagates = true, use_texture_alpha = true, walkable = false, - digable = false, pointable = false, buildable_to = false, drop = "", - can_dig = function() return false end, + diggable = false, groups = {not_in_creative_inventory=1}, post_effect_color = {a=200, r=50, g=0, b=60},--{a=180, r=128, g=0, b=128} drawtype = "nodebox",