Data on /give
This commit is contained in:
@@ -57,9 +57,11 @@ import {
|
||||
CommandDispatcher,
|
||||
CommandError,
|
||||
CommandNode,
|
||||
fluid as fluid_argument,
|
||||
greedy_string,
|
||||
integer,
|
||||
item,
|
||||
json,
|
||||
literal,
|
||||
number,
|
||||
word,
|
||||
@@ -698,9 +700,11 @@ export class ModRuntime {
|
||||
boolean,
|
||||
word,
|
||||
greedy_string,
|
||||
json,
|
||||
choice,
|
||||
item: () => item(),
|
||||
block: () => block_argument(),
|
||||
fluid: () => fluid_argument(),
|
||||
player: () => ({
|
||||
parse: (text: string) => {
|
||||
const found = game().players().find((p) => p.name === text);
|
||||
|
||||
Reference in New Issue
Block a user