1
0
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:
2015-12-21 17:10:47 +01:00
parent fe52e29d0e
commit ae9db8700d
8 changed files with 63 additions and 41 deletions

View File

@ -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