1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-02 08:00:40 +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

@ -14,7 +14,7 @@ minetest.register_tool(":worldedit:wand", {
stack_max = 1, -- there is no need to have more than one
liquids_pointable = true, -- ground with only water on can be selected as well
on_use = function(itemstack, placer, pointed_thing)
on_use = function(_, placer, pointed_thing)
if placer == nil or pointed_thing == nil then return end
local name = placer:get_player_name()
if pointed_thing.type == "node" then