1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-16 23:40:31 +01:00

Fix: "default:chest" had no formspec.

"maptools:chest" was a collateral damage.
This commit is contained in:
Le_Docteur 2015-06-16 17:25:53 +02:00
parent 87dc6f1ff4
commit 79e87b0f6b

View File

@ -1712,7 +1712,7 @@ minetest.register_node("default:chest", {
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
meta:set_string("formspec", default.chest_formspec) meta:set_string("formspec", chest_formspec)
meta:set_string("infotext", "Chest") meta:set_string("infotext", "Chest")
local inv = meta:get_inventory() local inv = meta:get_inventory()
inv:set_size("main", 8*4) inv:set_size("main", 8*4)