/item no longer requires cheats
This commit is contained in:
@@ -18,9 +18,10 @@ system.beforeEvents.startup.subscribe((event) => {
|
|||||||
const command = {
|
const command = {
|
||||||
name: 'construct:item',
|
name: 'construct:item',
|
||||||
description: 'Gives you the Construct item. Use it to open the Construct menu.',
|
description: 'Gives you the Construct item. Use it to open the Construct menu.',
|
||||||
permissionLevel: CommandPermissionLevel.Any
|
permissionLevel: CommandPermissionLevel.Any,
|
||||||
|
cheatsRequired: false
|
||||||
};
|
};
|
||||||
event.customCommandRegistry.registerCommand(command, givePlayerConstructItem)
|
event.customCommandRegistry.registerCommand(command, givePlayerConstructItem);
|
||||||
});
|
});
|
||||||
|
|
||||||
function givePlayerConstructItem(origin) {
|
function givePlayerConstructItem(origin) {
|
||||||
|
|||||||
Reference in New Issue
Block a user