Fix a crash when placing a pile with dirt in it
This commit is contained in:
parent
6e6d44c3a2
commit
819f24a622
2
init.lua
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user