revert canopy command to open menu
This commit is contained in:
@@ -10,10 +10,7 @@ const menuCmd = new Command({
|
|||||||
name: 'construct',
|
name: 'construct',
|
||||||
description: { text: 'Gives you the Construct item. Use it to open the Construct menu.' },
|
description: { text: 'Gives you the Construct item. Use it to open the Construct menu.' },
|
||||||
usage: 'construct',
|
usage: 'construct',
|
||||||
callback: (sender) => {
|
callback: (sender) => openMenu(sender)
|
||||||
const origin = { sourceEntity: sender };
|
|
||||||
givePlayerConstructItem(origin);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
extension.addCommand(menuCmd);
|
extension.addCommand(menuCmd);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user