mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-02-02 21:30:20 +01:00
fix replaced variable in old merge
This commit is contained in:
parent
b26a0e4f29
commit
f23bdaac8c
@ -200,8 +200,8 @@ else
|
|||||||
minetest.set_node(pt.under, {name="farming:soil"})
|
minetest.set_node(pt.under, {name="farming:soil"})
|
||||||
minetest.sound_play("default_dig_crumbly", {pos = pt.under, gain = 0.5,})
|
minetest.sound_play("default_dig_crumbly", {pos = pt.under, gain = 0.5,})
|
||||||
|
|
||||||
if math.random(1, 100) < WORM_CHANCE then
|
if math.random(1, 100) < fishing_setting.settings["worm_chance"] then
|
||||||
if WORM_IS_MOB == true then
|
if fishing_setting.settings["worm_is_mob"] == true then
|
||||||
minetest.add_entity({x=pt.under.x, y=pt.under.y+0.4, z=pt.under.z}, "fishing:bait_worm_entity")
|
minetest.add_entity({x=pt.under.x, y=pt.under.y+0.4, z=pt.under.z}, "fishing:bait_worm_entity")
|
||||||
else
|
else
|
||||||
local inv = user:get_inventory()
|
local inv = user:get_inventory()
|
||||||
|
Loading…
Reference in New Issue
Block a user