mirror of
https://codeberg.org/tenplus1/ambience.git
synced 2024-12-24 17:50:29 +01:00
fixed nil check
This commit is contained in:
parent
677c4311ab
commit
2ae4f6b7a5
3
init.lua
3
init.lua
@ -173,7 +173,8 @@ local get_ambience = function(player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- wading through water
|
-- wading through water
|
||||||
if minetest.registered_nodes[nod_feet].groups.water then
|
if minetest.registered_nodes[nod_feet]
|
||||||
|
and minetest.registered_nodes[nod_feet].groups.water then
|
||||||
|
|
||||||
local control = player:get_player_control()
|
local control = player:get_player_control()
|
||||||
|
|
||||||
|
BIN
textures/trans.png
Normal file
BIN
textures/trans.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 B |
Loading…
Reference in New Issue
Block a user