mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 18:20:36 +01:00
[nether] Correct function's name
This commit is contained in:
parent
8d5bad4edf
commit
e206f3bf09
@ -544,7 +544,7 @@ function nether_port(player, pos)
|
|||||||
set_portal(known_portals_u, pos.z,pos.x, pos.y)
|
set_portal(known_portals_u, pos.z,pos.x, pos.y)
|
||||||
pos.y = get_portal(known_portals_d, pos.z,pos.x) or portal_target+math.random(4)
|
pos.y = get_portal(known_portals_d, pos.z,pos.x) or portal_target+math.random(4)
|
||||||
player:moveto(pos)
|
player:moveto(pos)
|
||||||
player_to_nether(player, true)
|
nether.player_to_nether(player, true)
|
||||||
end
|
end
|
||||||
minetest.sound_play("nether_teleporter", {pos=pos})
|
minetest.sound_play("nether_teleporter", {pos=pos})
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user