diff options
author | tenplus1 <kinsellaja@yahoo.com> | 2015-03-01 11:20:12 +0000 |
---|---|---|
committer | tenplus1 <kinsellaja@yahoo.com> | 2015-03-01 11:20:12 +0000 |
commit | 7db8a5122fac2c4a83616d1e8cae8d5667f3c7c2 (patch) | |
tree | 82c8157042a2e5e5dfb4bbbbc75214c34a594d7c /fishing.lua | |
parent | 41e4423dd952e58793ff19ea001997cad92d6b2f (diff) |
Updated for 0.4.11 dev and above
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() |