From 132ef4795f88a09e9731f58bfcb579fddb2a4d4c Mon Sep 17 00:00:00 2001 From: tryashtar Date: Mon, 6 Nov 2023 22:39:09 -0700 Subject: [PATCH] Correct inputpermission parameter type entity (e.g. "minecraft:cow") -> selector (e.g. "@p") --- src/Lib/Data/Vanilla/inputpermission.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Lib/Data/Vanilla/inputpermission.ts b/src/Lib/Data/Vanilla/inputpermission.ts index 7810376..3074a99 100644 --- a/src/Lib/Data/Vanilla/inputpermission.ts +++ b/src/Lib/Data/Vanilla/inputpermission.ts @@ -5,22 +5,22 @@ import { CommandInfo } from "../CommandInfo"; export const inputpermission: CommandInfo[] = [ { name: "inputpermission", - documentation: "Forces to open an NPC dialogue box to the targeted player(s)", + documentation: "Queries the status of an input permission", parameters: [ { text: "inputpermission", type: ParameterType.keyword, required: true }, { text: "query", type: ParameterType.keyword, required: true }, - { text: "target", type: ParameterType.entity, required: true, options: { playerOnly: true } }, + { text: "target", type: ParameterType.selector, required: true, options: { playerOnly: true } }, { text: "permission", type: ParameterType.permission, required: true }, { text: "state", type: ParameterType.permissionState, required: false }, ], }, { name: "inputpermission", - documentation: "Forces to open an NPC dialogue box to the targeted player(s)", + documentation: "Sets whether or not a player's input can affect their character", parameters: [ { text: "inputpermission", type: ParameterType.keyword, required: true }, { text: "set", type: ParameterType.keyword, required: true }, - { text: "target", type: ParameterType.entity, required: true, options: { playerOnly: true } }, + { text: "target", type: ParameterType.selector, required: true, options: { playerOnly: true } }, { text: "permission", type: ParameterType.permission, required: true }, { text: "state", type: ParameterType.permissionState, required: true }, ],