Skip to content

Commit

Permalink
Fix some of the Luacheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
grorp committed Mar 2, 2023
1 parent 2918f20 commit 7c39580
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
globals = {
"ItemStack",
"dye",
"flow",
"math.round",
"minetest",
"modlib",
Expand Down
2 changes: 1 addition & 1 deletion src/canvas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ end
-- I intentionally do not remove floating graffiti in on_activate, as I think
-- that this would only make the behavior even more inconsistent and thus even
-- more confusing.
minetest.register_on_dignode(function(pos, oldnode, digger)
minetest.register_on_dignode(function(pos)
local objs = minetest.get_objects_in_area(
pos - vector.new(4, 4, 4), -- arbitrary
pos + vector.new(4, 4, 4)
Expand Down

0 comments on commit 7c39580

Please sign in to comment.