Return of the executed command number is false for the /function
The number of executed commands in the message following the execution of a /function command is false when one of called functions contains a /function command. Like we can see on my screenshot, the /function command doesn't count for one but for two (I tested without execute, the result is the same)
Environment
Windows 7
Java JRE 1.8.0_171
Created Issue:
Return of the executed command number is false for the /function
The number of executed commands in the message following the following the execution of a /function command is false when one of function called contains a /function command. Like we can see on my screenshot, the /function command doesn't count for one but for two (I tested without execute, the result is the same)
Environment
Windows 7
Java JRE 1.8.0_171
The number of executed commands in the message following the
following theexecution of a /function command is false when one of function called contains a /function command. Like we can see on my screenshot, the /function command doesn't count for one but for two (I tested without execute, the result is the same)
The number of executed commands in the message following the execution of a /function command is false when one of function
calledcontains a /function command. Like we can see on my screenshot, the /function command doesn't count for one but for two (I tested without execute, the result is the same)The number of executed commands in the message following the execution of a /function command is false when one of called functions contains a /function command. Like we can see on my screenshot, the /function command doesn't count for one but for two (I tested without execute, the result is the same)
Windows 7
Java JRE 1.8.0_171
Windows 7
Java JRE 1.8.0_171
duplicates

Can confirm for 1.13-pre6
Should probably confirm for pre7 since it just came out a few minutes ago.
First, I think it is intentional when a function commands returns 0 for chained executions to prevent vm stack overflow.
Second, functions got count twice in execution is actually
MC-148612(where I've posted a fix) andMC-143269(poster misunderstood the cause).The first part of this issue is actually the same as
MC-135636. Should close this issue and move the corresponding topics to those single-topic issues linked instead.Confirmed in 1.14 Pre-Release 5. Has a set of code that hacked to solve this issue by calling the result consumers twice. https://github.com/liachmodded/MC-126946-128565/tree/b42d0455329408c2e2156d913be4ca2fd4255f8a/src/main/java/com/github/liachmodded/datapacks
The other report is the dupe it seems