Mojira Archive
MC-277015

Functions containing uninstantiated macro commands terminate function tag completion

Description:

When calling a function tag without macro arguments, not only will the first macro function fail but all succeeding functions in the tag are never executed.

Steps to reproduce:

1. Download the attached datapack which provides two functions named dev:a:

$say $(a)

and dev:b:

say b

with a single function tag #dev:tag which runs dev:a before dev:b

{"values":["dev:a","dev:b"]} 

2. Call /function #dev:tag

Expected behavior:

dev:a fails to instantiate due to missing macro arguments

dev:b executes as the next sequential function in the tag and prints the message "b" to the chat

Observed behavior:

dev:a fails to instantiate due to missing macro arguments

dev:b (and any number of succeeding functions) is never executed and no message is sent to chat

Works As Intended

Oligo

2024-09-28, 08:30 PM

2024-10-02, 07:34 AM

2024-10-02, 07:34 AM

1

0

Confirmed

Data Packs

1.21.1, 24w39a

-