mirror of
https://github.com/MinetestForFun/fishing.git
synced 2025-07-25 11:30:18 +02:00
fix unknown flowers_plus node
better prize stuff check fix indentation
This commit is contained in:
@ -37,7 +37,9 @@ for _,pole in pairs(fishing_setting.poles) do
|
||||
local objs = minetest.get_objects_inside_radius(pt.under, 1)
|
||||
for m, obj in pairs(objs) do
|
||||
if obj:get_luaentity() ~= nil and string.find(obj:get_luaentity().name, "fishing:bobber") then
|
||||
if fishing_setting.settings["message"] == true then minetest.chat_send_player(player_name, S("Sorry, there is another bobber!")) end
|
||||
if fishing_setting.settings["message"] == true then
|
||||
minetest.chat_send_player(player_name, S("Sorry, there is another bobber!"))
|
||||
end
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user