From 1528ebdbbb7fd9b29350c1931b036312880d4261 Mon Sep 17 00:00:00 2001 From: ForestOfLight Date: Sat, 7 Jun 2025 21:53:38 -0700 Subject: [PATCH] revert canopy command to open menu --- Construct[BP]/scripts/commands/construct.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Construct[BP]/scripts/commands/construct.js b/Construct[BP]/scripts/commands/construct.js index 7338a3d..8f0b75f 100644 --- a/Construct[BP]/scripts/commands/construct.js +++ b/Construct[BP]/scripts/commands/construct.js @@ -10,10 +10,7 @@ const menuCmd = new Command({ name: 'construct', description: { text: 'Gives you the Construct item. Use it to open the Construct menu.' }, usage: 'construct', - callback: (sender) => { - const origin = { sourceEntity: sender }; - givePlayerConstructItem(origin); - } + callback: (sender) => openMenu(sender) }); extension.addCommand(menuCmd);