1
0
Fork 0

fix inventory not initialised

This commit is contained in:
AFCMS 2021-04-16 14:01:08 +02:00
parent 6397b1349b
commit 742aa2becb
1 changed files with 5 additions and 1 deletions

View File

@ -35,7 +35,11 @@ minetest.register_node("mcl_smithing_table:table", {
},
on_construct = function(pos)
minetest.get_meta(pos):set_string("formspec", formspec)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", formspec)
local inv = meta:get_inventory()
inv:set_size("input", 2)
inv:set_size("output", 1)
end,
_mcl_blast_resistance = 2.5,