Fix luacheck errors

This commit is contained in:
José Douglas da Silva Souza 2024-05-27 05:54:15 -03:00 committed by GitHub
parent 41b5558aeb
commit 21bc0db651
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,6 @@ for i in ipairs (butter_list) do
},
floodable = true,
on_place = function(itemstack, placer, pointed_thing)
local player_name = placer and placer:get_player_name() or ""
local pos = pointed_thing.above
local _, success = minetest.item_place(itemstack, placer, pointed_thing)
@ -76,7 +75,6 @@ for i in ipairs (butter_list) do
groups = {not_in_creative_inventory = 1},
floodable = true,
on_place = function(itemstack, placer, pointed_thing)
local player_name = placer and placer:get_player_name() or ""
local pos = pointed_thing.above
local _, success = minetest.item_place(itemstack, placer, pointed_thing)