From aa945c0694119e496e2aa4066adb993503ae76e8 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Sun, 17 Jul 2016 18:06:12 +0200 Subject: [PATCH] add command homegui to show home formspec --- init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.lua b/init.lua index 11bd27e..dd945c1 100644 --- a/init.lua +++ b/init.lua @@ -422,6 +422,13 @@ minetest.register_chatcommand("setpit", { end, }) +minetest.register_chatcommand("homegui", { + description = "Show home formspec", + privs = {home=true}, + func = function (name, params) + h2omes.show_formspec_home(name) + end, +}) if (minetest.get_modpath("unified_inventory")) then unified_inventory.register_button("home_formspec", {