forked from Mineclonia/Mineclonia
Add debug command to show ender chest inventory formspec.
This commit is contained in:
parent
5252952555
commit
54b36c42a9
|
@ -1002,6 +1002,13 @@ local formspec_ender_chest = "size[9,8.75]"..
|
||||||
"listring[current_player;enderchest]"..
|
"listring[current_player;enderchest]"..
|
||||||
"listring[current_player;main]"
|
"listring[current_player;main]"
|
||||||
|
|
||||||
|
minetest.register_chatcommand("enderchest", {
|
||||||
|
description = S("Show ender chest inventory formspec."),
|
||||||
|
privs = { debug = true },
|
||||||
|
func = function(name, params)
|
||||||
|
minetest.show_formspec(name, "enderchest:enderchest", formspec_ender_chest)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("mcl_chests:ender_chest_small", {
|
minetest.register_node("mcl_chests:ender_chest_small", {
|
||||||
description = S("Ender Chest"),
|
description = S("Ender Chest"),
|
||||||
|
|
Loading…
Reference in New Issue