1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-03 16:40:38 +02:00

Remove or rename unused arguments and loop variables

This commit is contained in:
HybridDog
2021-01-17 14:25:20 +01:00
parent 62a952bc9b
commit bbc9b2b833
9 changed files with 48 additions and 48 deletions

View File

@ -65,7 +65,7 @@ minetest.register_tool(":worldedit:brush", {
inventory_image = "worldedit_brush.png",
stack_max = 1, -- no need to stack these (metadata prevents this anyway)
range = 0,
on_use = function(itemstack, placer, pointed_thing)
on_use = function(itemstack, placer)
brush_on_use(itemstack, placer)
return itemstack -- nothing consumed, nothing changed
end,