From 3be2227e0d43091fb78c169f39c99d15c9820b02 Mon Sep 17 00:00:00 2001 From: Trivaxy Date: Sat, 15 Jun 2024 18:26:39 +0300 Subject: [PATCH] ... fix lint. i forgot to make this automatic --- .../java-edition/src/mcfunction/parser/argument.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/java-edition/src/mcfunction/parser/argument.ts b/packages/java-edition/src/mcfunction/parser/argument.ts index 9e1d281f7..4fcb15a47 100644 --- a/packages/java-edition/src/mcfunction/parser/argument.ts +++ b/packages/java-edition/src/mcfunction/parser/argument.ts @@ -1858,7 +1858,10 @@ const componentTest: core.InfallibleParser = (src, ctx) => { src.skipWhitespace() if (src.trySkip('=')) { - let value: core.Result | undefined = nbt.parser.entry(src, ctx); + let value: core.Result | undefined = nbt.parser.entry( + src, + ctx, + ) if (value == core.Failure) { ctx.err.report(localize('expected', localize('nbt.node')), src) @@ -1879,7 +1882,10 @@ const componentTest: core.InfallibleParser = (src, ctx) => { } if (src.trySkip('~')) { resLoc.options.category = 'item_sub_predicate_type' - let predicate: core.Result | undefined = nbt.parser.entry(src, ctx) + let predicate: core.Result | undefined = nbt.parser.entry( + src, + ctx, + ) if (predicate == core.Failure) { ctx.err.report(localize('expected', localize('nbt.node')), src)