From d8fc0da49a89b0b1c862dfc9e48becf8dbf7eb31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= <34514239+appgurueu@users.noreply.github.com> Date: Sat, 18 Jan 2025 16:27:32 +0100 Subject: [PATCH] Update mods/tnt/init.lua Co-authored-by: sfan5 --- mods/tnt/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 5a0f541d..05f01e3d 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -347,9 +347,8 @@ local function tnt_explode(pos, radius, ignore_protection, ignore_on_blast, owne -- Used to efficiently remove metadata of nodes that were destroyed. -- Metadata is probably sparse, so this may save us some work. - local poses_with_meta = minetest.find_nodes_with_meta(p1, p2) local has_meta = {} - for _, p in ipairs(poses_with_meta) do + for _, p in ipairs(minetest.find_nodes_with_meta(p1, p2)) do has_meta[a:indexp(p)] = true end