From ae434c3a073f91dc58d65d2bb9a19978280cab8f Mon Sep 17 00:00:00 2001 From: "Claude (owner)" Date: Thu, 14 May 2026 23:50:28 +0900 Subject: [PATCH] =?UTF-8?q?music=5Fquiz:=20answer/macro/match=20=E2=80=94?= =?UTF-8?q?=20NBT=20path=20compound=20matcher=20=EA=B3=B5=EB=B0=B1=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit execute if data 의 path 토큰은 공백을 허용하지 않음. 'judge {input:...}' → 'judge{input:...}' 로 붙여써야 compound predicate 가 정상 적용됨. --- music_quiz/data/mq/function/answer/macro/match.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_quiz/data/mq/function/answer/macro/match.mcfunction b/music_quiz/data/mq/function/answer/macro/match.mcfunction index 0eb8d79..6a9d2d9 100644 --- a/music_quiz/data/mq/function/answer/macro/match.mcfunction +++ b/music_quiz/data/mq/function/answer/macro/match.mcfunction @@ -1,3 +1,3 @@ # judge.input 과 judge.answer 가 같으면 @s answer = 1 # 매크로 치환으로 answer 필드를 NBT predicate 의 리터럴로 박아넣음 -$execute if data storage mq:tmp judge {input:"$(answer)"} run scoreboard players set @s answer 1 +$execute if data storage mq:tmp judge{input:"$(answer)"} run scoreboard players set @s answer 1