mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 08:20:21 +01:00
fix positionnal sound don't work to player when teleport to nether
This commit is contained in:
parent
d0d8b5ccb7
commit
9fdf469de2
@ -530,6 +530,7 @@ function nether_port(player, pos)
|
|||||||
if not netherport(pos) then
|
if not netherport(pos) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
minetest.sound_play("nether_teleporter", {to_player=player:get_player_name()}) --MFF crabman (5/09/2015) fix positional sound don't work to player
|
||||||
minetest.sound_play("nether_teleporter", {pos=pos})
|
minetest.sound_play("nether_teleporter", {pos=pos})
|
||||||
if pos.y < nether.start then
|
if pos.y < nether.start then
|
||||||
player_from_nether(player)
|
player_from_nether(player)
|
||||||
|
Loading…
Reference in New Issue
Block a user