forked from Mineclonia/Mineclonia
Merge pull request 'ITEMS/mcl_chests: Add debug command to show ender chest inventory formspec.' (#194) from add-enderchest-command into master
Reviewed-on: Mineclonia/Mineclonia#194 Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
commit
dd347c50c5
|
@ -1002,6 +1002,13 @@ local formspec_ender_chest = "size[9,8.75]"..
|
|||
"listring[current_player;enderchest]"..
|
||||
"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", {
|
||||
description = S("Ender Chest"),
|
||||
|
|
Loading…
Reference in New Issue