mirror of
https://github.com/blert2112/mobs_water.git
synced 2025-07-04 16:10:22 +02:00
remove minetest.setting_* functions are deprecated
This commit is contained in:
@ -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_spawn_chance = 10000
|
||||||
local l_cc_hand = 25
|
local l_cc_hand = 25
|
||||||
local l_cc_net = 80
|
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 = {
|
local l_anims = {
|
||||||
speed_normal = 24, speed_run = 24,
|
speed_normal = 24, speed_run = 24,
|
||||||
stand_start = 1, stand_end = 80,
|
stand_start = 1, stand_end = 80,
|
||||||
|
Reference in New Issue
Block a user