diff --git a/mobs_fish/init.lua b/mobs_fish/init.lua index e48ad45..f164f14 100644 --- a/mobs_fish/init.lua +++ b/mobs_fish/init.lua @@ -9,7 +9,7 @@ local SPRITE_VERSION = false -- set to true to use upright sprites instead of me local l_spawn_chance = 10000 local l_cc_hand = 25 local l_cc_net = 80 - local l_water_level = minetest.setting_get("water_level") - 1 + local l_water_level = minetest.settings:get("water_level") - 1 local l_anims = { speed_normal = 24, speed_run = 24, stand_start = 1, stand_end = 80, @@ -34,7 +34,7 @@ local SPRITE_VERSION = false -- set to true to use upright sprites instead of me l_visual = "upright_sprite" l_visual_size = {x=.5, y=.5} l_clown_mesh = nil - l_trop_mesh = nil + l_trop_mesh = nil l_clown_textures = {{"animal_clownfish_clownfish_item.png"}} l_trop_textures = {{"animal_fish_blue_white_fish_blue_white_item.png"}} end