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:
parent
7f062dd50a
commit
96a69636f0
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user