1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 17:50:37 +01:00

tweak the fishing mod

This commit is contained in:
Ombridride 2015-03-11 18:17:01 +01:00
parent 7f062dd50a
commit 96a69636f0
3 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ local FISHING_BOBBER_ENTITY={
on_rightclick = function (self, clicker)
local item = clicker:get_wielded_item()
local player = clicker:get_player_name()
if item:get_name() == "fishing:pole" then
if item:get_name() == "fishing:pole" or "fishing:pole_perfect" then
local inv = clicker:get_inventory()
local say = minetest.chat_send_player
local pos = self.object:getpos()

View File

@ -75,7 +75,7 @@ local FISHING_BOBBER_ENTITY_SHARK={
local item = clicker:get_wielded_item()
local player = clicker:get_player_name()
local say = minetest.chat_send_player
if item:get_name() == "fishing:pole" then
if item:get_name() == "fishing:pole" or "fishing:pole_perfect" then
local inv = clicker:get_inventory()
local pos = self.object:getpos()
-- catch visible plant