fix: some items cannot be crafted

master
root 2021-08-25 12:57:49 +02:00
parent 4182f1b8a8
commit 430096aee7
1 changed files with 2 additions and 2 deletions

View File

@ -423,12 +423,12 @@ for i = 1, #pavements do
})
local amount
if pavements[i].amount then
amount = " ".. tostring(pavements[i].amount)
amount = tostring(pavements[i].amount)
else
amount = "1"
end
minetest.register_craft({
output = pavements[i].name .. amount,
output = pavements[i].name .. " " .. amount,
type = 'shaped',
recipe = pavements[i].recipe,
})