Browse Source

Update functions.lua

pull/4/head
Panquesito7 GitHub 9 months ago
parent
commit
fa391d1a08
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      functions.lua

+ 2
- 4
functions.lua View File

@@ -370,7 +370,7 @@ function fishing_setting.func.add_to_trophies(player, fish, desc)
if inv:room_for_item("main", {name=name, count=1, wear=0, metadata=""}) then
inv:add_item("main", {name=name, count=1, wear=0, metadata=""})
else
minetest.spawn_item(player:getpos(), {name=name, count=1, wear=0, metadata=""})
minetest.spawn_item(player:get_pos(), {name=name, count=1, wear=0, metadata=""})
end
end
end
@@ -487,9 +487,8 @@ function fishing_setting.func.load_planned()
end
end
end
fishing_setting.func.load_planned()


fishing_setting.func.load_planned()

function fishing_setting.func.save_planned()
local input = io.open(fishing_setting.file_planned, "w")
@@ -824,4 +823,3 @@ function fishing_setting.func.tick()
end
end
end


Loading…
Cancel
Save