1
0
Fork 0

Remove unused digger variable that I forgot

This commit is contained in:
PrairieWind 2023-03-29 17:31:23 -06:00 committed by MrRar
parent 9c83755f53
commit a98f79763b
1 changed files with 2 additions and 2 deletions

View File

@ -137,9 +137,9 @@ local function on_destruct_banner(pos, hanging)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
local item = meta:get_inventory():get_stack("banner", 1) local item = meta:get_inventory():get_stack("banner", 1)
if not item:is_empty() then if not item:is_empty() then
minetest.handle_node_drops(pos, {item:to_string()}, digger) minetest.handle_node_drops(pos, {item:to_string()})
else else
minetest.handle_node_drops(pos, {"mcl_banners:banner_item_white"}, digger) minetest.handle_node_drops(pos, {"mcl_banners:banner_item_white"})
end end
end end
end end