From bccb1d2c5b1a06b2288673669519c050dcee42d8 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Tue, 28 Oct 2014 21:19:53 +0100 Subject: [PATCH] Spawn from the Nether to the real world modified --- mods/nether/nether/portal.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/nether/nether/portal.lua b/mods/nether/nether/portal.lua index 5afb1233..c6ccdbf5 100644 --- a/mods/nether/nether/portal.lua +++ b/mods/nether/nether/portal.lua @@ -208,7 +208,7 @@ end minetest.register_abm({ nodenames = {"nether:portal"}, interval = 1, - chance = 2, + chance = 2, action = function(pos, node) if not abm_allowed then return @@ -522,7 +522,7 @@ function nether_port(player, pos) minetest.sound_play("nether_teleporter", {pos=pos}) if pos.y < nether.start then player_from_nether(player) - player:moveto({x=pos.x, y=100, z=pos.z}) + player:moveto({x=5, y=35, z=-7}) else player:moveto({x=pos.x, y=portal_target+math.random(4), z=pos.z}) player_to_nether(player, true)