From 819f24a6226989592f80b896afea521eaddc3640 Mon Sep 17 00:00:00 2001 From: Mikko Tuumanen Date: Sat, 4 Nov 2023 22:29:31 +0200 Subject: [PATCH] Fix a crash when placing a pile with dirt in it --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 72e5197..4071a8a 100644 --- a/init.lua +++ b/init.lua @@ -862,7 +862,7 @@ local function after_place_pile(pos,placer,itemstack,pointed_thing) while card ~= "" do log("after_place_pile: i="..i.." card="..card) pile_add_card(pile_inv,card) - descr=descr..", "..carddescriptions[card] + descr=descr..", "..(carddescriptions[card] or card) i=i+1 card=stackmeta:get_string(i) end