Spawn from the Nether to the real world modified

This commit is contained in:
LeMagnesium 2014-10-28 21:19:53 +01:00
parent 4d690103a9
commit bccb1d2c5b
1 changed files with 2 additions and 2 deletions

View File

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