summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-10-22 19:48:46 -0600
committerFaceDeer <derksenmobile@gmail.com>2017-10-22 19:48:46 -0600
commitae0a24b19b09a678c7e55962d002053de94faadc (patch)
tree8ff6cd790c68588f1a332b1c699e86589f98d94a
parent2949dbd76453a9a8fd49a5e52a5176cbf7fad25a (diff)
fix fuelstore formspec on construct
-rw-r--r--nodes/node_storage.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodes/node_storage.lua b/nodes/node_storage.lua
index 9a52c1a..ad36570 100644
--- a/nodes/node_storage.lua
+++ b/nodes/node_storage.lua
@@ -121,7 +121,7 @@ minetest.register_node("digtron:fuelstore", {
on_construct = function(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()
inv:set_size("fuel", 8*4)
end,