mojira.dev
MC-277797

Forked commands can run /return multiple times for the same function

This command can cause the function to return multiple times. (You need at least 2 entities in your world.)

execute as @e run return 0

Given that functions normally have a single return value, this seems like an unintended behavior.

You can use the attached datapack and run /function returnbug:t

Attachments

Comments 0

No comments.

Triton365

(Unassigned)

Confirmed

Platform

Low

Commands

1.21.2, 1.21.3, 1.21.4, 25w04a, 1.21.8

Retrieved