mirror of
https://github.com/minetest-mods/digtron.git
synced 2024-08-19 20:34:04 +02:00
fix fuelstore formspec on construct
This commit is contained in:
parent
2949dbd764
commit
ae0a24b19b
@ -121,7 +121,7 @@ minetest.register_node("digtron:fuelstore", {
|
|||||||
|
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("formspec", fuelstore_formspec)
|
meta:set_string("formspec", fuelstore_formspec(pos, meta))
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
inv:set_size("fuel", 8*4)
|
inv:set_size("fuel", 8*4)
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user