mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2025-07-10 04:00:27 +02:00
Merge branch 'master' of yunohost:mtcontrib/minetest-3d_armor into dev
This commit is contained in:
@ -5,7 +5,7 @@ local disable_sounds = minetest.settings:get_bool("shields_disable_sounds")
|
||||
local use_moreores = minetest.get_modpath("moreores")
|
||||
local function play_sound_effect(player, name)
|
||||
if not disable_sounds and player then
|
||||
local pos = player:getpos()
|
||||
local pos = player:get_pos()
|
||||
if pos then
|
||||
minetest.sound_play(name, {
|
||||
pos = pos,
|
||||
|
Reference in New Issue
Block a user