Skip to content

Commit

Permalink
remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS committed Dec 22, 2024
1 parent d6b0400 commit 8c0b7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/beds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ local bed_from_positions = {}
for _, nodename in ipairs(bed_bottoms) do
-- override bed definitions
minetest.override_item(nodename, {
on_movenode = function(from_pos, to_pos)
on_movenode = function(from_pos)
-- collect bed positions while jumping
table.insert(bed_from_positions, from_pos)
end
Expand Down

0 comments on commit 8c0b7cb

Please sign in to comment.