From 42ed83880403853dfa41f9181c50505fabbabab0 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Wed, 11 Mar 2015 16:49:42 +0100 Subject: [PATCH] Continue the pole_perfect code --- mods/fishing/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/fishing/init.lua b/mods/fishing/init.lua index 9dc37b5b..19a37147 100644 --- a/mods/fishing/init.lua +++ b/mods/fishing/init.lua @@ -125,7 +125,7 @@ minetest.register_tool("fishing:pole", { end, }) ---Canne à pêche normal +--Canne à pêche parfaite minetest.register_tool("fishing:pole_perfect", { description = S("Perfect Fishing Pole"), @@ -155,7 +155,7 @@ minetest.register_tool("fishing:pole_perfect", { and not minetest.setting_getbool("creative_mode") then return rod_wear(itemstack, user, pointed_thing, 30) else - return {name="fishing:pole", count=1, wear=0, metadata=""} + return {name="fishing:pole_perfect", count=1, wear=0, metadata=""} end end if inv:get_stack("main", user:get_wield_index()+1):get_name() == "fishing:fish_raw" then @@ -172,7 +172,7 @@ minetest.register_tool("fishing:pole_perfect", { and not minetest.setting_getbool("creative_mode") then return rod_wear(itemstack, user, pointed_thing, 30) else - return {name="fishing:pole", count=1, wear=0, metadata=""} + return {name="fishing:pole_perfect", count=1, wear=0, metadata=""} end end end