diff options
Diffstat (limited to 'fishing.lua')
-rw-r--r-- | fishing.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fishing.lua b/fishing.lua index b47095d..4c831a0 100644 --- a/fishing.lua +++ b/fishing.lua @@ -49,7 +49,7 @@ minetest.register_craftitem("ethereal:fishing_rod_baited", { liquids_pointable = true, on_use = function (itemstack, user, pointed_thing) if pointed_thing and pointed_thing.under then - local node = minetest.env:get_node(pointed_thing.under) + local node = minetest.get_node(pointed_thing.under) if string.find(node.name, "default:water_source") then if math.random(1, 100) < 5 then local inv = user:get_inventory() |