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);